Stardew-Valley-Mod-Manager icon indicating copy to clipboard operation
Stardew-Valley-Mod-Manager copied to clipboard

[Issue] Stardew directory auto-detection includes the executable name in the path.

Open RyanWalpole opened this issue 2 months ago • 0 comments

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

  1. 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)

  2. Run the first run setup

  3. Observe that the detected directory includes the file name and extension.

Log Files

No response

Screenshots

image

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.

RyanWalpole avatar May 04 '24 03:05 RyanWalpole