mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
Verify the final signed portable digest and apply an installed font to selected text
This commit is contained in:
1 parent
a2fd3ed2b0
commit
46284078cf
2 files changed
+76
-2
No files matched your search
@@ -39,10 +39,10 @@ jobs:
|
||||
}
|
||||
if ($LASTEXITCODE -ne 0) { throw "Signed artifact download failed." }
|
||||
$asset = Get-ChildItem $download -Recurse -Filter '*windows-x64-portable.zip' | Select-Object -First 1
|
||||
Get-FileHash $asset.FullName
|
||||
if ((Get-FileHash $asset.FullName).Hash -ne "2b9249c9deec9a300b626adb2a9aede38d83da51439c92c0f3da28e6c1cacd52") { throw "Portable differs from signed manifest" }
|
||||
Expand-Archive $asset.FullName "$download/expanded"
|
||||
$exe = Get-ChildItem "$download/expanded" -Recurse -Filter vectorcraft.exe | Select-Object -First 1
|
||||
$signature = Get-AuthenticodeSignature $exe.FullName
|
||||
if ($signature.Status -ne 'Valid') { throw "Authenticode: $($signature.Status) $($signature.StatusMessage)" }
|
||||
$signature.SignerCertificate | Format-Table Subject, Thumbprint
|
||||
python .github/qa-windows-saves.py $exe.FullName
|
||||
python .github/qa-final-font.py $exe.FullName final
|
||||
Reference in new issue
Block a user