Add pool presets, operator bake-ins, and USB pack improvements
- Pool preset checkboxes with failover in Calibrate and Forge - Tier 1/2 UX: setup banner, forge next worker, LAN defaults, blueprint prompt - USB: auto-install forge tools, seed config.json, sync LAUNCH.bat
This commit is contained in:
20
LAUNCH.bat
20
LAUNCH.bat
@@ -135,28 +135,20 @@ set "GOENV=off"
|
||||
:: ----------------------------------------------------------------
|
||||
:: 3. Install optional Forge tools if missing (non-fatal)
|
||||
:: ----------------------------------------------------------------
|
||||
if /i "%AF_INSTALL_TOOLS%"=="1" (
|
||||
if /i not "%AF_INSTALL_TOOLS%"=="0" (
|
||||
if not exist "%ROOT%\toolchain\gopath\bin\garble.exe" (
|
||||
echo [Tools] Installing garble - obfuscation support...
|
||||
echo [Tools] Installing garble...
|
||||
"%GO_BIN%" install mvdan.cc/garble@latest
|
||||
if errorlevel 1 (
|
||||
echo [Tools] WARNING: garble install failed - Forge obfuscation will be skipped.
|
||||
) else (
|
||||
echo [Tools] garble ready.
|
||||
)
|
||||
if errorlevel 1 echo [Tools] WARN: garble install failed.
|
||||
)
|
||||
|
||||
if not exist "%ROOT%\toolchain\gopath\bin\go-winres.exe" (
|
||||
echo [Tools] Installing go-winres - Windows icon disguise...
|
||||
echo [Tools] Installing go-winres...
|
||||
"%GO_BIN%" install github.com/tc-hib/go-winres@v0.3.1
|
||||
if errorlevel 1 (
|
||||
echo [Tools] WARNING: go-winres install failed - Fusion icon patch will be skipped.
|
||||
) else (
|
||||
echo [Tools] go-winres ready.
|
||||
)
|
||||
if errorlevel 1 echo [Tools] WARN: go-winres install failed.
|
||||
)
|
||||
) else (
|
||||
echo [Tools] Skipping optional installs. Run: set AF_INSTALL_TOOLS=1 ^&^& LAUNCH.bat to install.
|
||||
echo [Tools] Auto-install disabled (AF_INSTALL_TOOLS=0).
|
||||
)
|
||||
|
||||
:: ----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user