* Add base and loader command
* Support updating to latest
* Support explicit fabric versions
* Support explicit Forge version
* Support quilt
* Add support for updating Minecraft
* Add support for Forge recommended
* Fix Forge version sorting
* Various fixes
* Add documentation to the use
* More suggestions
* feat: add packwiz settings command to allow for changing acceptable versions
* Add deduping on the list
* Fix typo in comment
* Detect out of order list and give the user an option to correct it
* Support adding and removing specific versions
* Ensure the options aren't nil
* Clean up the slice removal boilerplate
* Fix usage of slices.Delete
Looping through every file on every file update *and* cleaning + fromslash is sloww with many files
(ideally, we'd have a map to look up the file, but this is already significantly faster)
Both CurseForge and Modrinth preferences were not being done in a specific order - so
a file with a newer Minecraft version would not necessarily take priority over a file
with a more preferred loader (e.g. Quilt over Fabric) or a file with a newer release
date / CurseForge ID.
Also fixed a loop variable reference in the CurseForge loop, which caused eagerly resolved
(included in API response) file info to be inconsistent with the chosen version, and
added filtering for duplicate values in the acceptable-game-versions/primary version list
to ensure game versions are always compared properly (so the same index == same version).
* feat: install command for direct downloads
* use sha1 instead of sha256
* apply suggestions
* feat: parse urls instead of using hasprefix
* stop by default and add force flag
* Implement various fixes and improvements
Co-authored-by: Tricked <72335827+SkyBlockDev@users.noreply.github.com>
Co-authored-by: comp500 <comp500@users.noreply.github.com>