onionshare/build_exe.bat

15 lines
569 B
Batchfile

REM use pyinstaller to builder a folder with onionshare.exe
pyinstaller -y setup\onionshare-win.spec
REM sign onionshare.exe
signtool.exe sign /v /d "OnionShare" /a /tr "http://www.startssl.com/timestamp" dist\onionshare\onionshare.exe
REM run onionshare once, to compile the .py files into .pyc
dist\onionshare\onionshare.exe --help
REM build an installer, dist\OnionShare_Setup.exe
makensisw setup\onionshare.nsi
REM sign OnionShare_Setup.exe
signtool.exe sign /v /d "OnionShare" /a /tr "http://www.startssl.com/timestamp" dist\OnionShare_Setup.exe