mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-22 15:37:48 +00:00
do not require qprocess
This commit is contained in:
parent
c196f0d69e
commit
5020ce94e7
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user