File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,15 +124,36 @@ func main() {
124124 setupPath := filepath .Join (dir , "Spotify.exe" )
125125 drive := strings .ToUpper (string (exePath [0 ])) + ":"
126126
127- killProcesses (2 * time .Second , "steam.exe" , "EADesktop.exe" )
127+ killProcesses (
128+ 2 * time .Second ,
129+ // steam
130+ "steam.exe" ,
131+ "steamwebhelper.exe" ,
132+ // ea
133+ "EADesktop.exe" ,
134+ "EABackgroundService.exe" ,
135+ "EALocalHostSvc.exe" ,
136+ // riot/vanguard
137+ "Riot Client.exe" ,
138+ "RiotClientCrashHandler.exe" ,
139+ "RiotClientServices.exe" ,
140+ "vgc.exe" ,
141+ // they bought badlion so just to make this future-proof
142+ "Lunar Client.exe" ,
143+ // epic games
144+ "EpicGamesLauncher.exe" ,
145+ "EpicWebHelper.exe" ,
146+ // eac
147+ "EACefSubProcess.exe" ,
148+ )
128149
129150 clearTempDir ()
130151
131- log .Info ("launching setup.exe ..." )
152+ log .Info ("launching " + setupPath + " ..." )
132153 if err = runSetupDetached (setupPath ); err != nil {
133- log .Error ("error starting setup.exe : " + err .Error ())
154+ log .Error ("error starting " + setupPath + " : " + err .Error ())
134155 } else {
135- log .Info ("setup.exe started successfully." )
156+ log .Info (setupPath + " started successfully." )
136157 }
137158
138159 log .Info ("waiting before usb eject..." )
You can’t perform that action at this time.
0 commit comments