fluffy-mods / ModManager-Standalone

a standalone mod manager for RimWorld
12 stars 1 forks source link

App expects RimWorld to be both .app and a file #2

Open legodude17 opened 4 years ago

legodude17 commented 4 years ago

Describe the bug
When selecting the path to RimWorld, the app only lets me select a ".app", but also checks to see if it is a file. This doesn't work because on macOS, .apps are technically folders, so the file check fails.

Secondary issue: the app expects the local mods folder to be next to the RimWorld app, but on macOS it is actually inside.

Expected behavior
Either the app should allow me to select the actual executable (which has no extension), or the app should accept non-files, at least when they are .apps. Given that I assume the RimWorld path is used to launch RimWorld, it should probably be the executable itself.

(If I get a chance, I'll try to send a PR with a proper system for macOS path detection)

Steps to reproduce

  1. Select a .app for the RimWorld path
  2. See that it does not see it as a valid path

Other mods
Nope

Output log
N/A

Save game
N/A

Screenshots

Screen Shot 2020-06-11 at 6 50 31 PM

Environment

Game