Implement self-update recovery (T-403)
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user