mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-27 00:09:50 -05:00
15 lines
569 B
Batchfile
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
|