aboutsummaryrefslogtreecommitdiff
path: root/desktop/install/build_exe.bat
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/install/build_exe.bat')
-rw-r--r--desktop/install/build_exe.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/desktop/install/build_exe.bat b/desktop/install/build_exe.bat
new file mode 100644
index 00000000..ba626fa2
--- /dev/null
+++ b/desktop/install/build_exe.bat
@@ -0,0 +1,17 @@
+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://time.certum.pl/ 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://time.certum.pl/ dist\onionshare-setup.exe