TheMulhima / Lumafly

A cross platform mod manager for Hollow Knight written in Avalonia.
https://themulhima.github.io/Lumafly/
GNU General Public License v3.0
132 stars 18 forks source link

Add a dialog for finding the game directory if Lumafly does not find it itself #126

Open TheElevatedOne opened 1 month ago

TheElevatedOne commented 1 month ago

Explanation of the new feature

I almost reported this as a bug since I couldn't start Lumafly on Linux. But after going through the config file, I found that Lumafly assumed the installation directory of Hollow Knight to be in ~/.steam/steam/steamapps/common/Hollow Knight/..., which is not my installdir.

After changing it to my Steam Library on my Second Drive it worked fine.


So, It would be the best for users that are not that knowledgeable to show a file explorer dialog to find the directory or at least some kind of alert/pop-up that will explain the situation.

I only got the info of the config folder with log files from your Bug Report page (...and ~/.config/HKModInstaller on Mac/Linux). It was kinda hard to find the issue since Lumafly does not output any log details in the terminal, only:

Starting Lumafly...
Finding preferred language...
Logging sucessfully setup...
Starting Avalonia Setup...