Stardew-Valley-Mod-Manager
Stardew-Valley-Mod-Manager copied to clipboard
[Issue] Stardew directory auto-detection includes the executable name in the path.
The Issue or Bug
During first run setup, if the application detects an installation on any drive other than the C drive - at the defined "expected" locations, it pre-fills the directory textbox with the correct path but includes the file name for the executable, which the "directory is valid" flag is not expecting.
Version
240402, 240501
Operating System
Windows 11
Steps to reproduce the behavior
-
Have Stardew Valley/SMAPI installed at a directory that is fetched by the auto-detection but not on the C drive (e.g. D:\SteamLibrary\steamapps\common\Stardew Valley)
-
Run the first run setup
-
Observe that the detected directory includes the file name and extension.
Log Files
No response
Screenshots
Additional Context
No response
Suggested Resolution
Likely the auto detection is coded to include the executable name and extension. It would be as simple as removing Stardew Valley.exe from this code.