why does bat not have or/and logic lmao

This commit is contained in:
dazedanon 2025-10-24 10:37:18 -05:00
parent 748f57477e
commit 96525f156a

View file

@ -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%"