aboutsummaryrefslogtreecommitdiff
path: root/desktop/package
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-11-09 19:47:57 -0800
committerMicah Lee <micah@micahflee.com>2020-11-09 19:47:57 -0800
commitf67e7ce67885dea4a8ed308fbffd84108a08ec22 (patch)
tree60362cc5c678b07283732ade5674866209832535 /desktop/package
parenta8ef55550fca1d75706dc9447cec9953d9cb648e (diff)
downloadonionshare-f67e7ce67885dea4a8ed308fbffd84108a08ec22.tar.gz
onionshare-f67e7ce67885dea4a8ed308fbffd84108a08ec22.zip
End web thread successfully when cleaning up after a tab, which prevents crashes after running the tests; and fix msi_filename in Windows build script
Diffstat (limited to 'desktop/package')
-rw-r--r--desktop/package/windows/build.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/package/windows/build.py b/desktop/package/windows/build.py
index 9dd467f2..de2f921c 100644
--- a/desktop/package/windows/build.py
+++ b/desktop/package/windows/build.py
@@ -39,7 +39,9 @@ def main():
print("○ Create the binary")
run(["briefcase", "create"], desktop_dir)
run(["briefcase", "package"], desktop_dir)
- msi_filename = glob.glob(os.path.join(cli_dir, "windows", "OnionShare-*.msi"))[0]
+ msi_filename = glob.glob(os.path.join(desktop_dir, "windows", "OnionShare-*.msi"))[
+ 0
+ ]
print(f"○ Created unsigned installer: {msi_filename}")
print(f"○ Signing installer")