mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 09:16:24 -05:00
18 lines
606 B
Batchfile
18 lines
606 B
Batchfile
REM delete old dist files
|
|
rmdir /s /q dist
|
|
|
|
REM build onionshare-gui.exe
|
|
pyinstaller install\pyinstaller.spec -y
|
|
|
|
REM download tor
|
|
python install\get-tor-windows.py
|
|
|
|
REM sign 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
|
|
signtool.exe sign /v /d "OnionShare" /a /tr http://timestamp.globalsign.com/scripts/timstamp.dll /fd sha256 dist\OnionShare_Setup.exe
|