aboutsummaryrefslogtreecommitdiff
path: root/desktop/scripts/get-tor-linux.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-linux.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-linux.py')
-rwxr-xr-xdesktop/scripts/get-tor-linux.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/scripts/get-tor-linux.py b/desktop/scripts/get-tor-linux.py
index 51beb475..1f5e36fd 100755
--- a/desktop/scripts/get-tor-linux.py
+++ b/desktop/scripts/get-tor-linux.py
@@ -31,6 +31,7 @@ import hashlib
import shutil
import subprocess
import requests
+from bridges import UpdateTorBridges
def main():
@@ -126,6 +127,9 @@ def main():
print(f"Tor binaries extracted to: {dist_path}")
+ # Fetch the built-in bridges
+ UpdateTorBridges(root_path)
+
if __name__ == "__main__":
main()