jakobkmar / pacmc

An easy-to-use package manager (and soon to be launcher) for Minecraft mods.
GNU Affero General Public License v3.0
122 stars 9 forks source link

Make Curseforge slug resolving more reliable #60

Open SolitudeSF opened 2 years ago

SolitudeSF commented 2 years ago

pacmc install curseforge/betterend

results in

Resolving versions and dependencies...
[✓] resolved slugs
[✓] resolved install transaction

Installing the given mods will result in the following transaction:

Is this okay? (Y/n) yes

and no action being performed. mod has version compatible with archive version.

jakobkmar commented 2 years ago

Hey, thanks for the report!

The issue here is that Curseforge does not support requests by slug directly, that's why pacmc uses a workaround at the moment, which sadly does not work that great. This workaround can be improved though, and that is planned for the future!

The feedback for empty transactions can be improved as well, since it might confuse users.