maradotwebp / pax

📦 The MC modpack manager for professionals.
https://github.com/froehlichA/pax/releases/latest
MIT License
161 stars 4 forks source link

Show mod version when updating/adding mods #52

Open juraj-hrivnak opened 3 years ago

juraj-hrivnak commented 3 years ago

Also, notifying if the mod version is the latest or the recommended. Like: <VERSION> (Recommended). I have run into some confusion when updating the mods, so I was thinking would be neat.

[:] Loading data from manifest..
[:] Loading mods..
[:] Searching for mod..

[Δ] SELECTED MOD
 └─ MAtmos - https://www.curseforge.com/minecraft/mc-mods/matmos
    └─ Description: MAtmos is a sound atmosphere generator for Minecraft.
    └─ Downloads: 30.360
    └─ Version: <VERSION>

Are you sure you want to update this mod? (y/n - default y):
[:] Retrieving mod versions..
[-] Updating MAtmos <VERSION>..
[:] Writing to manifest...
maradotwebp commented 3 years ago

Unfortunately the mods on curseforge don't have a concept of "versions", 80% of mod authors do put a semantic version string in their mod filename, but the rest doesn't.

Though, I could just show you the filename and the strategy with which the mod has been retrieved.

juraj-hrivnak commented 3 years ago

Oh yeah, I haven't really thought about that. Showing the file name would be probably even better than only the version.