why does bat not have or/and logic lmao
This commit is contained in:
parent
748f57477e
commit
96525f156a
1 changed files with 9 additions and 1 deletions
|
|
@ -80,7 +80,15 @@ if exist "%ROOT_DIR%\data.dts" (
|
|||
echo [Pre-Setup] Running SRPG_Unpacker preparation steps...
|
||||
|
||||
REM Step 1: Unpack (once)
|
||||
if not exist "%ROOT_DIR%\data\" if not exist "%ROOT_DIR%\data\project.dat" (
|
||||
if not exist "%ROOT_DIR%\data\" (
|
||||
set "SHOULD_UNPACK=1"
|
||||
) else if not exist "%ROOT_DIR%\data\project.dat" (
|
||||
set "SHOULD_UNPACK=1"
|
||||
) else (
|
||||
set "SHOULD_UNPACK=0"
|
||||
)
|
||||
|
||||
if "!SHOULD_UNPACK!"=="1" (
|
||||
if exist "%ROOT_DIR%\data.dts" (
|
||||
echo [Pre-Setup] Step 1: Unpacking data.dts to data
|
||||
pushd "%ROOT_DIR%"
|
||||
|
|
|
|||
Loading…
Reference in a new issue