use hacky timeout

This commit is contained in:
SpikeHD 2022-04-25 18:39:43 -07:00
parent 82b667b83b
commit cae6043664
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ if "%PROXY_IP%" EQU "localhost" (
goto killgame goto killgame
) )
timeout /t 2 /NOBREAK >nul ping 127.0.0.1 -n 2 > nul
goto loop goto loop

View File

@ -80,7 +80,8 @@ taskkill /f /im mitmdump.exe
echo Done, see you next time echo Done, see you next time
timeout.exe /t 2 /nobreak >nul :: Just in case the user has corutils installed, use this hacky timeout instead of the timeout command
ping 127.0.0.1 -n 2 > nul
taskkill /f /fi "WINDOWTITLE eq Administrator: PS Launcher Script" || taskkill /f /fi "WINDOWTITLE eq PS Launcher Script" taskkill /f /fi "WINDOWTITLE eq Administrator: PS Launcher Script" || taskkill /f /fi "WINDOWTITLE eq PS Launcher Script"