update
This commit is contained in:
@@ -112,7 +112,7 @@ if ($Standalone) {
|
||||
|
||||
$exeName = "hpl-toolbox-$version.exe"
|
||||
$exeOut = Join-Path $distDir $exeName
|
||||
go build -ldflags="-s -w -H windowsgui" -trimpath -o $exeOut .
|
||||
go build -ldflags="-s -w -H windowsgui -X main.AppVersion=$version" -trimpath -o $exeOut .
|
||||
if ($LASTEXITCODE -ne 0) { Write-Error "go build failed"; exit 1 }
|
||||
|
||||
$summary += [pscustomobject]@{
|
||||
|
||||
Reference in New Issue
Block a user