Fix LAUNCH.bat batch syntax: escape parens in else-block echo

This commit is contained in:
AetherForge
2026-06-01 21:23:50 -07:00
parent 1413a9394f
commit 5ef1734ae3
2 changed files with 6 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ set "BUNDLED_GO=%ROOT%\toolchain\go\bin\go.exe"
set "GO_BIN="
if exist "%ROOT%\toolchain\go" if not exist "%BUNDLED_GO%" (
echo [Go] Incomplete toolchain folder removing broken install...
echo [Go] Incomplete toolchain folder - removing broken install...
rd /s /q "%ROOT%\toolchain\go" 2>nul
)
@@ -111,7 +111,7 @@ if errorlevel 1 (
del "%GO_DEST%" 2>nul
if not exist "%BUNDLED_GO%" (
echo ERROR: Extraction failed %BUNDLED_GO% not found.
echo ERROR: Extraction failed - %BUNDLED_GO% not found.
echo Delete toolchain\go and toolchain\pack, then re-run LAUNCH.bat.
pause
exit /b 1
@@ -148,7 +148,7 @@ if /i not "%AF_INSTALL_TOOLS%"=="0" (
if errorlevel 1 echo [Tools] WARN: go-winres install failed.
)
) else (
echo [Tools] Auto-install disabled (AF_INSTALL_TOOLS=0).
echo [Tools] Auto-install disabled ^(AF_INSTALL_TOOLS=0^).
)
:: ----------------------------------------------------------------

View File

@@ -38,7 +38,7 @@ set "BUNDLED_GO=%ROOT%\toolchain\go\bin\go.exe"
set "GO_BIN="
if exist "%ROOT%\toolchain\go" if not exist "%BUNDLED_GO%" (
echo [Go] Incomplete toolchain folder removing broken install...
echo [Go] Incomplete toolchain folder - removing broken install...
rd /s /q "%ROOT%\toolchain\go" 2>nul
)
@@ -111,7 +111,7 @@ if errorlevel 1 (
del "%GO_DEST%" 2>nul
if not exist "%BUNDLED_GO%" (
echo ERROR: Extraction failed %BUNDLED_GO% not found.
echo ERROR: Extraction failed - %BUNDLED_GO% not found.
echo Delete toolchain\go and toolchain\pack, then re-run LAUNCH.bat.
pause
exit /b 1
@@ -148,7 +148,7 @@ if /i not "%AF_INSTALL_TOOLS%"=="0" (
if errorlevel 1 echo [Tools] WARN: go-winres install failed.
)
) else (
echo [Tools] Auto-install disabled (AF_INSTALL_TOOLS=0).
echo [Tools] Auto-install disabled ^(AF_INSTALL_TOOLS=0^).
)
:: ----------------------------------------------------------------