Add forge pipeline polish, simple forge UX, and fleet management upgrades.
Fusion copies prep icon and version info via go-winres; optional Garble obfuscation, Authenticode signing, and dry-run size estimates. Forge Simple mode with smart defaults; fleet roster gets compact expandable cards, filters, bulk commands, per-agent notes/tags, and typed WebSocket payloads.
This commit is contained in:
20
run.bat
20
run.bat
@@ -4,6 +4,11 @@ title AetherForge Control Server
|
||||
cd /d "%~dp0"
|
||||
set "ROOT=%CD%"
|
||||
|
||||
if /i "%~1"=="release" (
|
||||
set "AETHERFORGE_RELEASE=1"
|
||||
echo Release mode: Garble obfuscation default ON for new forges.
|
||||
)
|
||||
|
||||
:: Remove corrupt empty Go file that breaks server builds (accidental placeholder).
|
||||
if exist "server\internal\ollama\main.go" (
|
||||
for %%F in ("server\internal\ollama\main.go") do if %%~zF==0 del "server\internal\ollama\main.go"
|
||||
@@ -67,14 +72,20 @@ echo Go installed.
|
||||
|
||||
:go_ready
|
||||
|
||||
:: Garble (optional, for Forge obfuscation — failure is non-fatal)
|
||||
echo [1.5/5] Checking Garble (optional)...
|
||||
:: Garble + go-winres (Forge pipeline tools — failure is non-fatal)
|
||||
echo [1.5/5] Checking Forge tools (Garble, go-winres)...
|
||||
where garble >nul 2>nul
|
||||
if errorlevel 1 (
|
||||
echo Installing garble via go install...
|
||||
go install mvdan.cc/garble@latest
|
||||
if errorlevel 1 echo WARNING: Garble install failed; Forge obfuscation may be unavailable.
|
||||
)
|
||||
where go-winres >nul 2>nul
|
||||
if errorlevel 1 (
|
||||
echo Installing go-winres via go install...
|
||||
go install github.com/tc-hib/go-winres@v0.3.1
|
||||
if errorlevel 1 echo WARNING: go-winres install failed; Fusion icon patch may need network on first forge.
|
||||
)
|
||||
|
||||
:: ============================================================
|
||||
:: STEP 2: Node.js
|
||||
@@ -185,6 +196,10 @@ if errorlevel 1 (
|
||||
)
|
||||
cd /d "%ROOT%"
|
||||
|
||||
if defined AETHERFORGE_RELEASE (
|
||||
echo Release mode active — set AETHERFORGE_RELEASE=1 for server process.
|
||||
)
|
||||
|
||||
if not exist "bin\miner-server.exe" (
|
||||
echo ERROR: bin\miner-server.exe was not created.
|
||||
goto fatal_exit
|
||||
@@ -219,6 +234,7 @@ echo.
|
||||
start "" cmd /c "timeout /t 3 /nobreak >nul && start http://localhost:8989/"
|
||||
|
||||
echo [Server] miner-server.exe -port 8989 -data "%ROOT%\data"
|
||||
if defined AETHERFORGE_RELEASE set AETHERFORGE_RELEASE=1
|
||||
echo.
|
||||
|
||||
.\bin\miner-server.exe -port 8989 -data "%ROOT%\data"
|
||||
|
||||
Reference in New Issue
Block a user