File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 11# Common IntelliJ Platform excludes
22
33/Build
4- /Publish
4+ /Logs
55
66# User specific
77** /.idea /** /workspace.xml
@@ -35,4 +35,4 @@ _UpgradeReport_Files/
3535
3636Thumbs.db
3737Desktop.ini
38- .DS_Store
38+ .DS_Store
Original file line number Diff line number Diff line change 44using Serilog ;
55using SteamAchievementUnlocker ;
66
7+ string exePath = Process . GetCurrentProcess ( ) . MainModule ! . FileName ;
8+ string exeDirectory = Path . GetDirectoryName ( exePath ) ! ;
9+ Directory . SetCurrentDirectory ( exeDirectory ) ;
10+
711Process . GetProcessesByName ( "SteamAchievementUnlockerAgent" )
812 . ToList ( )
913 . ForEach ( x => x . Kill ( ) ) ;
2428}
2529var app = "SteamAchievementUnlockerAgent.exe" ;
2630#elif LINUX || MAC
27- Log . Information ( "Make sure Steam is running and logged in" ) ;
28- Log . Information ( "Otherwise the following will all fail\n " ) ;
29- string app = "SteamAchievementUnlockerAgent" ;
30- Environment . SetEnvironmentVariable ( "LD_PRELOAD" , Path . Combine ( Directory . GetCurrentDirectory ( ) , "libsteam_api.so" ) ) ;
31+ Log . Information ( "Make sure Steam is running and logged in" ) ;
32+ Log . Information ( "Otherwise the following will all fail\n " ) ;
33+ string app = "SteamAchievementUnlockerAgent" ;
34+ Environment . SetEnvironmentVariable ( "LD_PRELOAD" , Path . Combine ( Directory . GetCurrentDirectory ( ) , "libsteam_api.so" ) ) ;
3135#endif
3236
3337const string clearString = "--clear" ;
You can’t perform that action at this time.
0 commit comments