File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,13 @@ static void Main(string[] args)
337
337
DateTime launch_request_date = DateTime . Now ;
338
338
339
339
340
+ // Attempts to force the application to run without admin
341
+ if ( selected_game . Options . Contains ( "noadmin" ) )
342
+ {
343
+ Logger . Information ( $ "Setting compatibility flag to disable UAC prompt.") ;
344
+ Environment . SetEnvironmentVariable ( "__COMPAT_LAYER" , "RUNASINVOKER" ) ;
345
+ }
346
+
340
347
// If nolaunch is selected don't actually launch the game but instead shows the client window and adds 1 minute to param_timeout
341
348
if ( ! selected_game . Options . Contains ( "nolaunch" ) )
342
349
{
Original file line number Diff line number Diff line change @@ -94,4 +94,10 @@ exe=HeroesSwitcher%.exe
94
94
name =GTA V
95
95
client =epic
96
96
cmd =9d2d0eb64d5c44529cece33fe2a46482
97
- exe =PlayGTAV.exe
97
+ exe =PlayGTAV.exe
98
+
99
+ [ewwz]
100
+ name =GTA V
101
+ client =epic
102
+ cmd =Wombat
103
+ exe =wwzRetailEgs.exe
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ static public void SendEnterByHandle(IntPtr handle)
99
99
{
100
100
if ( handle == IntPtr . Zero )
101
101
{
102
- Logger . Error ( $ "Givne null handle. aborting...") ;
102
+ Logger . Error ( $ "Given null handle. aborting...") ;
103
103
return ;
104
104
}
105
105
You can’t perform that action at this time.
0 commit comments