aboutsummaryrefslogtreecommitdiff
path: root/desktop/scripts/get-tor-windows.py
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2021-12-10 15:34:44 +1100
committerMiguel Jacq <mig@mig5.net>2021-12-10 16:48:39 +1100
commitbe8a2a894f23238927511555be21d3c5624751b3 (patch)
treee176611ae03ac0d5ee9ee7c0447a83a9bcab5084 /desktop/scripts/get-tor-windows.py
parenta71a4f9baa35c23cdbf0a482d9ae0a0110d947a5 (diff)
downloadonionshare-be8a2a894f23238927511555be21d3c5624751b3.tar.gz
onionshare-be8a2a894f23238927511555be21d3c5624751b3.zip
Update our bridge templates with the latest built-in bridges in the get-tor scripts
Diffstat (limited to 'desktop/scripts/get-tor-windows.py')
-rw-r--r--desktop/scripts/get-tor-windows.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/scripts/get-tor-windows.py b/desktop/scripts/get-tor-windows.py
index 8ca2e79f..69c98a1b 100644
--- a/desktop/scripts/get-tor-windows.py
+++ b/desktop/scripts/get-tor-windows.py
@@ -31,6 +31,8 @@ import shutil
import subprocess
import requests
+from bridges import UpdateTorBridges
+
def main():
exe_url = "https://dist.torproject.org/torbrowser/11.0a10/torbrowser-install-11.0a10_en-US.exe"
@@ -98,6 +100,9 @@ def main():
os.path.join(working_path, "Data"), os.path.join(dist_path, "Data", "Tor")
)
+ # Fetch the built-in bridges
+ UpdateTorBridges(root_path)
+
if __name__ == "__main__":
main()