Updated Windows packaging scripts to work with PyInstaller

This commit is contained in:
Micah Lee 2016-04-12 17:53:33 -07:00
parent f2c4591c1e
commit e37ce32fcd
4 changed files with 75 additions and 26 deletions

View file

@ -1,8 +1,8 @@
REM use PyInstaller to builder a folder with onionshare.exe
pyinstaller install/pyinstaller.spec
pyinstaller install\pyinstaller.spec -y
REM sign onionshare.exe
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\onionshare.exe
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\onionshare\onionshare.exe
REM build an installer, dist\OnionShare_Setup.exe
makensis.exe install\onionshare.nsi