diff options
Diffstat (limited to 'desktop/scripts/get-tor-linux.py')
-rwxr-xr-x | desktop/scripts/get-tor-linux.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/scripts/get-tor-linux.py b/desktop/scripts/get-tor-linux.py index 51beb475..a911713d 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(): @@ -46,7 +47,7 @@ def main(): ) working_path = os.path.join(root_path, "build", "tor") tarball_path = os.path.join(working_path, tarball_filename) - dist_path = os.path.join(root_path, "src", "onionshare", "resources", "tor") + dist_path = os.path.join(root_path, "onionshare", "resources", "tor") # Make sure dirs exist if not os.path.exists(working_path): @@ -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() |