Update patch
This commit is contained in:
parent
8b24b4a68f
commit
d9b14ffd34
1 changed files with 19 additions and 0 deletions
|
|
@ -1,6 +1,25 @@
|
|||
@echo off
|
||||
setlocal EnableExtensions EnableDelayedExpansion
|
||||
|
||||
REM Check if being run from gameupdate folder (incorrect usage)
|
||||
for %%I in ("%CD%") do set "CURRENT_FOLDER=%%~nxI"
|
||||
if /I "%CURRENT_FOLDER%"=="gameupdate" (
|
||||
echo.
|
||||
echo ========================================
|
||||
echo ERROR: Do not run patch.bat directly!
|
||||
echo ========================================
|
||||
echo.
|
||||
echo You are running this from the gameupdate folder.
|
||||
echo This will not work correctly!
|
||||
echo.
|
||||
echo Please go back to the game's root folder and
|
||||
echo run GameUpdate.bat instead.
|
||||
echo ========================================
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM Determine important paths
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
set "ROOT_DIR=%CD%"
|
||||
|
|
|
|||
Loading…
Reference in a new issue