mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-14 04:38:00 -08:00
fix(inno): provide file digest algorithm
This commit is contained in:
parent
0c966cc429
commit
5cc12558ac
|
@ -29,7 +29,7 @@ $name = "oh-my-posh.exe"
|
||||||
$download = "https://github.com/jandedobbeleer/oh-my-posh/releases/download/v$Version/$($file)"
|
$download = "https://github.com/jandedobbeleer/oh-my-posh/releases/download/v$Version/$($file)"
|
||||||
Invoke-WebRequest $download -Out "./bin/$($name)"
|
Invoke-WebRequest $download -Out "./bin/$($name)"
|
||||||
if ($sign) {
|
if ($sign) {
|
||||||
& $signtool sign /f $pfxPath /p $env:CERTIFICATE_PASSWORD /t http://timestamp.digicert.com "./bin/$($name)"
|
& $signtool sign /f $pfxPath /p $env:CERTIFICATE_PASSWORD /fd SHA256 /t http://timestamp.digicert.com "./bin/$($name)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# license
|
# license
|
||||||
|
@ -42,7 +42,7 @@ $content | Out-File -Encoding 'UTF8' $ISSName
|
||||||
$installer = "install-$Architecture"
|
$installer = "install-$Architecture"
|
||||||
ISCC.exe /F$installer $ISSName
|
ISCC.exe /F$installer $ISSName
|
||||||
if ($sign) {
|
if ($sign) {
|
||||||
& $signtool sign /f $pfxPath /p $env:CERTIFICATE_PASSWORD /t http://timestamp.digicert.com "Output/$installer.exe"
|
& $signtool sign /f $pfxPath /p $env:CERTIFICATE_PASSWORD /fd SHA256 /t http://timestamp.digicert.com "Output/$installer.exe"
|
||||||
Remove-Item -Path $pfxPath
|
Remove-Item -Path $pfxPath
|
||||||
}
|
}
|
||||||
# get hash
|
# get hash
|
||||||
|
|
Loading…
Reference in a new issue