Implement self-update recovery (T-403)

This commit is contained in:
ila
2026-07-19 22:00:38 +08:00
parent 2900deba4f
commit 13004218cf
35 changed files with 1754 additions and 16 deletions
+4
View File
@@ -84,6 +84,8 @@ Invoke-Step "Test and build modern target with Go 1.25.0" {
$env:GOOS = "windows"
$env:GOARCH = "amd64"
go -C app-modern build -trimpath "-ldflags=-H=windowsgui" -o ../dist/SoftBox.exe ./cmd/softbox
Assert-NativeSuccess -Step "Build modern SoftBox"
go -C app-modern build -trimpath -o ../dist/SoftBoxUpdater.exe ./cmd/softboxupdater
}
Invoke-Step "Test and build Win7 target with Go 1.20.14" {
@@ -97,6 +99,8 @@ Invoke-Step "Test and build Win7 target with Go 1.20.14" {
$env:GOOS = "windows"
$env:GOARCH = "amd64"
go -C app-win7 build -trimpath "-ldflags=-H=windowsgui" -o ../dist/SoftBox-win7.exe ./cmd/softbox
Assert-NativeSuccess -Step "Build Win7 SoftBox"
go -C app-win7 build -trimpath -o ../dist/SoftBoxUpdater-win7.exe ./cmd/softboxupdater
}
Write-Host "Phase 0 verification passed."