fix: release build script; add releases README and v1.0.0 download links
This commit is contained in:
@@ -118,7 +118,7 @@ function Invoke-CodeSign {
|
||||
param([string]$ExePath)
|
||||
$cert = $env:SIGN_CERT_PATH
|
||||
if (-not $cert) {
|
||||
Write-Host " (signing skipped — set SIGN_CERT_PATH to a .pfx to Authenticode-sign)"
|
||||
Write-Host " (signing skipped - set SIGN_CERT_PATH to a .pfx to Authenticode-sign)"
|
||||
return
|
||||
}
|
||||
if (-not (Test-Path $cert)) { throw "SIGN_CERT_PATH not found: $cert" }
|
||||
@@ -126,7 +126,7 @@ function Invoke-CodeSign {
|
||||
if (-not (Test-Path $signtool)) {
|
||||
$signtool = (Get-Command signtool.exe -ErrorAction SilentlyContinue).Source
|
||||
}
|
||||
if (-not $signtool) { throw "signtool.exe not found — install Windows SDK" }
|
||||
if (-not $signtool) { throw "signtool.exe not found - install Windows SDK" }
|
||||
Write-Host "`n== Authenticode sign =="
|
||||
$args = @("sign", "/fd", "SHA256", "/f", $cert, "/tr", "http://timestamp.digicert.com", "/td", "SHA256")
|
||||
if ($env:SIGN_CERT_PASSWORD) {
|
||||
|
||||
Reference in New Issue
Block a user