SatisfactoryModManager icon indicating copy to clipboard operation
SatisfactoryModManager copied to clipboard

Resolve home dirs to absolute paths in whisky_darwin.go

Open jtatum opened this issue 1 year ago • 0 comments

os.stat requires an absolute path or it fails. On my system, os.UserHomeDir() returns ~. Similarly, my whisky plist has defaultBottleLocation = "~/Library/Containers/com.isaacmarovitz.Whisky/Bottles";. This change dereferences both of those tildes to absolute paths so Whisky is properly detected.

jtatum avatar Dec 17 '24 20:12 jtatum