Added an alternate location to automatically find SteamApps/ on linux

This commit is contained in:
Vhati 2015-08-27 16:16:35 -04:00
parent f783a7e177
commit 16df3ba832
3 changed files with 3 additions and 0 deletions

View file

@ -48,6 +48,7 @@ public class FTLUtilities {
new File( new File(""+System.getenv("ProgramFiles")), humblePath ),
// Linux - Steam
new File( xdgDataHome +"/Steam/SteamApps/common/FTL Faster Than Light/data/resources" ),
new File( xdgDataHome +"/.steam/steam/SteamApps/common/FTL Faster Than Light/data/resources" ),
// OSX - Steam
new File( System.getProperty("user.home") +"/Library/Application Support/Steam/SteamApps/common/FTL Faster Than Light/FTL.app/Contents/Resources" ),
// OSX