Added an alternate location to automatically find SteamApps/ on linux
This commit is contained in:
parent
f783a7e177
commit
16df3ba832
3 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
"hidden" : "true",
|
"hidden" : "true",
|
||||||
"changes" : [
|
"changes" : [
|
||||||
"Added a config option to launch FTL via Steam, if possible"
|
"Added a config option to launch FTL via Steam, if possible"
|
||||||
|
"Added an alternate location to automatically find SteamApps/ on linux"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,6 +2,7 @@ Changelog
|
||||||
|
|
||||||
1.7:
|
1.7:
|
||||||
- Added a config option to launch FTL via Steam, if possible
|
- Added a config option to launch FTL via Steam, if possible
|
||||||
|
- Added an alternate location to automatically find SteamApps/ on linux
|
||||||
|
|
||||||
1.6:
|
1.6:
|
||||||
- Fixed modorder not being saved properly
|
- Fixed modorder not being saved properly
|
||||||
|
|
|
@ -48,6 +48,7 @@ public class FTLUtilities {
|
||||||
new File( new File(""+System.getenv("ProgramFiles")), humblePath ),
|
new File( new File(""+System.getenv("ProgramFiles")), humblePath ),
|
||||||
// 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" ),
|
||||||
// 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue