packwiz icon indicating copy to clipboard operation
packwiz copied to clipboard

add github support

Open Tricked-dev opened this issue 2 years ago • 5 comments

this pr adds Github releases installing support and updating

example

packwiz gh add caffeinemc/sodium-fabric packwiz gh add https://github.com/caffeinemc/sodium-fabric

Setting branch

You can also set a custom branch to be used

[update]
[update.github]
branch = "1.16.x/dev"
mod-id = "caffeinemc/sodium-fabric"
version = "mc1.19-0.4.2"

Tricked-dev avatar Jun 15 '22 12:06 Tricked-dev

closes #30

Tricked-dev avatar Jun 15 '22 14:06 Tricked-dev

@comp500 should be ready for merge lmk if there's anything wrong

Tricked-dev avatar Jun 15 '22 14:06 Tricked-dev

hmmm interesting

youmukonpaku1337 avatar Jun 16 '22 10:06 youmukonpaku1337

It would be great to have it check for your minecraft version in the name of the file, since a lot of mods package all of their versions into one github release.

Ideally it would check your game version and your allowed versions, an option for a custom search would be good too, for things like "1.16+" in the file name.

Ferium does this decently well.

iinterp avatar Jul 09 '22 17:07 iinterp

@comp500 just merge this pr into a separate branch and add your changes, don't really want to bother with go atm

Tricked-dev avatar Jul 09 '22 17:07 Tricked-dev

Superseded by #230

comp500 avatar Jun 01 '23 11:06 comp500