do not require qprocess

This commit is contained in:
SpikeHD 2022-04-22 12:26:19 -07:00
parent c196f0d69e
commit 5020ce94e7

View File

@ -27,8 +27,8 @@ if "%PROXY_IP%" EQU "localhost" (
:: Check if the proxy server process is running :: Check if the proxy server process is running
:: https://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script :: https://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script
qprocess "mitmdump.exe">NUL tasklist /fi "ImageName eq mitmdump.exe" /fo csv 2>NUL | find /I "mitmdump.exe">NUL
if %ERRORLEVEL% NEQ 0 ( if "%ERRORLEVEL%" NEQ "0" (
goto killgame goto killgame
) )