Add code signing to windows release

This commit is contained in:
Micah Lee 2020-02-24 16:51:59 -08:00
parent 6fb8a35719
commit 2f9d368beb
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -5,7 +5,8 @@ rmdir /s /q build
REM build the exe with pyinstaller REM build the exe with pyinstaller
pyinstaller install\pyinstaller\pyinstaller.spec pyinstaller install\pyinstaller\pyinstaller.spec
REM TODO: code sign dangerzone.exe REM code sign dangerzone.exe
signtool.exe sign /v /d "Dangerzone" /a /tr http://time.certum.pl/ dist\dangerzone\dangerzone.exe
REM build the msi package REM build the msi package
cd build cd build
@ -14,8 +15,9 @@ cd wix
candle.exe ..\..\install\windows\Dangerzone.wxs candle.exe ..\..\install\windows\Dangerzone.wxs
light.exe -ext WixUIExtension Dangerzone.wixobj light.exe -ext WixUIExtension Dangerzone.wixobj
REM TODO: code sign dangerzone.msi REM code sign dangerzone.msi
signtool.exe sign /v /d "Dangerzone" /a /tr http://time.certum.pl/ build\wix\Dangerzone.msi
REM moving dangerzone.msi to dist REM moving Dangerzone.msi to dist
cd ..\.. cd ..\..
move build\wix\Dangerzone.msi dist move build\wix\Dangerzone.msi dist