mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
15 lines
607 B
Batchfile
15 lines
607 B
Batchfile
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://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
|
|
|
|
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://timestamp.globalsign.com/scripts/timstamp.dll dist\OnionShare_Setup.exe
|