From 5ef1734ae39dff0e1405440542c78f3f4317e7b5 Mon Sep 17 00:00:00 2001 From: AetherForge Date: Mon, 1 Jun 2026 21:23:50 -0700 Subject: [PATCH] Fix LAUNCH.bat batch syntax: escape parens in else-block echo --- LAUNCH.bat | 6 +++--- usb/LAUNCH.bat | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LAUNCH.bat b/LAUNCH.bat index 402fc6b..1249861 100644 --- a/LAUNCH.bat +++ b/LAUNCH.bat @@ -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^). ) :: ---------------------------------------------------------------- diff --git a/usb/LAUNCH.bat b/usb/LAUNCH.bat index 402fc6b..1249861 100644 --- a/usb/LAUNCH.bat +++ b/usb/LAUNCH.bat @@ -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^). ) :: ----------------------------------------------------------------