Fix LAUNCH.bat batch syntax: escape parens in else-block echo
This commit is contained in:
@@ -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^).
|
||||
)
|
||||
|
||||
:: ----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user