consistency

This commit is contained in:
SpikeHD 2022-04-21 03:44:31 -07:00
parent 5b20e3367a
commit 1dfca55cc4
2 changed files with 9 additions and 9 deletions

View File

@ -14,10 +14,10 @@ if "%PROXY_IP%" EQU "localhost" (
:loop
:: Check if the game is even running
@REM QPROCESS "%GAME_EXE_NAME%">NUL
@REM IF %ERRORLEVEL% NEQ 0 (
@REM exit /b
@REM )
@rem QPROCESS "%GAME_EXE_NAME%">NUL
@rem IF %ERRORLEVEL% NEQ 0 (
@rem exit /b
@rem )
:: 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

View File

@ -8,11 +8,11 @@
echo Starting Proxy Server
SET ip=%1
SET gamePath=%2
SET gamePath=%gamePath:"=%
SET ORIGIN=%3
SET ORIGIN=%ORIGIN:"=%
set ip=%1
set gamePath=%2
set gamePath=%gamePath:"=%
set ORIGIN=%3
set ORIGIN=%ORIGIN:"=%
set PROXY=true
@rem Store original proxy settings