replacing signtool.exe timestamp server with globalsign one, because startssl is having problems

This commit is contained in:
Micah Lee 2015-05-18 17:04:26 -07:00
parent 90af3f2e12
commit 886c307592
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ REM use pyinstaller to builder a folder with onionshare.exe
pyinstaller -y install\onionshare-win.spec
REM sign onionshare.exe
signtool.exe sign /v /d "OnionShare" /a /tr "http://www.startssl.com/timestamp" dist\onionshare\onionshare.exe
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll dist\onionshare\onionshare.exe
REM run onionshare once, to compile the .py files into .pyc
dist\onionshare\onionshare.exe --help
@ -11,4 +11,4 @@ REM build an installer, dist\OnionShare_Setup.exe
makensisw install\onionshare.nsi
REM sign OnionShare_Setup.exe
signtool.exe sign /v /d "OnionShare" /a /tr "http://www.startssl.com/timestamp" dist\OnionShare_Setup.exe
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll dist\OnionShare_Setup.exe

View File

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