Added another alternate location to automatically find SteamApps/ on linux

This commit is contained in:
Vhati 2015-08-27 18:26:53 -04:00
parent 16df3ba832
commit 0274a85cba

View file

@ -49,6 +49,7 @@ public class FTLUtilities {
// Linux - Steam // Linux - Steam
new File( xdgDataHome +"/Steam/SteamApps/common/FTL Faster Than Light/data/resources" ), 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" ), new File( xdgDataHome +"/.steam/steam/SteamApps/common/FTL Faster Than Light/data/resources" ),
new File( System.getProperty("user.home") +"/.steam/steam/steamapps/common/FTL Faster Than Light/data/resources" ),
// OSX - Steam // OSX - Steam
new File( System.getProperty("user.home") +"/Library/Application Support/Steam/SteamApps/common/FTL Faster Than Light/FTL.app/Contents/Resources" ), new File( System.getProperty("user.home") +"/Library/Application Support/Steam/SteamApps/common/FTL Faster Than Light/FTL.app/Contents/Resources" ),
// OSX // OSX