Uncomment Windows codesigning

This commit is contained in:
Micah Lee 2017-04-15 12:17:43 -07:00
parent d5cae26b3e
commit 205c457d51
2 changed files with 3 additions and 3 deletions

View File

@ -8,10 +8,10 @@ REM download tor
python install\get-tor-windows.py python install\get-tor-windows.py
REM sign onionshare-gui.exe REM sign onionshare-gui.exe
REM signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\onionshare\onionshare-gui.exe signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\onionshare\onionshare-gui.exe
REM build an installer, dist\OnionShare_Setup.exe REM build an installer, dist\OnionShare_Setup.exe
makensis.exe install\onionshare.nsi makensis.exe install\onionshare.nsi
REM sign OnionShare_Setup.exe REM sign OnionShare_Setup.exe
REM signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\OnionShare_Setup.exe signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\OnionShare_Setup.exe

View File

@ -39,7 +39,7 @@ ${EndIf}
!echo "Creating normal installer" !echo "Creating normal installer"
!system "makensis.exe /DINNER onionshare.nsi" = 0 !system "makensis.exe /DINNER onionshare.nsi" = 0
!system "$%TEMP%\tempinstaller.exe" = 2 !system "$%TEMP%\tempinstaller.exe" = 2
#!system "signtool.exe sign /v /d $\"Uninstall OnionShare$\" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 $%TEMP%\uninstall.exe" = 0 !system "signtool.exe sign /v /d $\"Uninstall OnionShare$\" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 $%TEMP%\uninstall.exe" = 0
# all done, now we can build the real installer # all done, now we can build the real installer
OutFile "..\dist\OnionShare_Setup.exe" OutFile "..\dist\OnionShare_Setup.exe"