gorilla-devs / ferium

Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The prompt asking whether to install an optional dependency will still appear even if I already have that mod

palapapa opened this issue · comments

Description

As title

Steps to reproduce

  1. ferium add 459496
  2. ferium add 363949
  3. Observe that it will still ask you whether to install Indium despite the fact that you already have it.

Operating System

Windows

Are you using the latest version of ferium?

  • I am using the latest version of ferium

Additional Information

No response

圖片
That's weird, I couldn't reproduce it anymore, but here is a screenshot of it happening.
It was probably because when I was adding Indium, it tried to add Sodium as well, which failed because sodium moved to Modrinth, so it ended up not installing Indium.

ferium add 459496

This command doesn't run to completion, it seems to not be able to add the required dependency because the author of that mod doesn't want third parties to download it. When a command fails to exit properly, the changes made to your config, which in this case is the addition of the mod itself and Indium, don't apply. If you run ferium add 459496 and run ferium list you can see the mods haven't been added.