mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-22 15:37:48 +00:00
consistency
This commit is contained in:
parent
5b20e3367a
commit
1dfca55cc4
@ -14,10 +14,10 @@ if "%PROXY_IP%" EQU "localhost" (
|
|||||||
|
|
||||||
:loop
|
:loop
|
||||||
:: Check if the game is even running
|
:: Check if the game is even running
|
||||||
@REM QPROCESS "%GAME_EXE_NAME%">NUL
|
@rem QPROCESS "%GAME_EXE_NAME%">NUL
|
||||||
@REM IF %ERRORLEVEL% NEQ 0 (
|
@rem IF %ERRORLEVEL% NEQ 0 (
|
||||||
@REM exit /b
|
@rem exit /b
|
||||||
@REM )
|
@rem )
|
||||||
|
|
||||||
:: 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
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
echo Starting Proxy Server
|
echo Starting Proxy Server
|
||||||
|
|
||||||
SET ip=%1
|
set ip=%1
|
||||||
SET gamePath=%2
|
set gamePath=%2
|
||||||
SET gamePath=%gamePath:"=%
|
set gamePath=%gamePath:"=%
|
||||||
SET ORIGIN=%3
|
set ORIGIN=%3
|
||||||
SET ORIGIN=%ORIGIN:"=%
|
set ORIGIN=%ORIGIN:"=%
|
||||||
|
|
||||||
set PROXY=true
|
set PROXY=true
|
||||||
@rem Store original proxy settings
|
@rem Store original proxy settings
|
||||||
|
Loading…
Reference in New Issue
Block a user