From 205c457d517b0c2ba564fc0aaec6b899710da1a1 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sat, 15 Apr 2017 12:17:43 -0700 Subject: [PATCH] Uncomment Windows codesigning --- install/build_exe.bat | 4 ++-- install/onionshare.nsi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/build_exe.bat b/install/build_exe.bat index 58b9ad36..c1b357fa 100644 --- a/install/build_exe.bat +++ b/install/build_exe.bat @@ -8,10 +8,10 @@ REM download tor python install\get-tor-windows.py 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 makensis.exe install\onionshare.nsi 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 diff --git a/install/onionshare.nsi b/install/onionshare.nsi index 2b85e064..307ab950 100644 --- a/install/onionshare.nsi +++ b/install/onionshare.nsi @@ -39,7 +39,7 @@ ${EndIf} !echo "Creating normal installer" !system "makensis.exe /DINNER onionshare.nsi" = 0 !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 OutFile "..\dist\OnionShare_Setup.exe"