This commit is contained in:
Your Name
2026-08-18 17:25:22 +08:00
parent 1048b9ba29
commit f8c78739e7
261 changed files with 16253 additions and 7399 deletions
+5
View File
@@ -92,6 +92,11 @@ if (-not $installer) {
throw "Installer compilation completed but output file was not found"
}
# 有证书时给安装包签名(无证书自动跳过)。用户下载到的就是这个文件,
# SmartScreen 的"有风险"提示主要看它有没有签名与信誉。
& (Join-Path $projectRoot "sign_artifact.ps1") -Path $installer.FullName
if ($LASTEXITCODE -ne 0) { throw "Installer code signing step failed" }
$hash = (Get-FileHash -LiteralPath $installer.FullName -Algorithm SHA256).Hash
Write-Output ("Installer: " + $installer.FullName)
Write-Output ("SHA256: " + $hash)