Update our bridge templates with the latest built-in bridges in the get-tor scripts

This commit is contained in:
Miguel Jacq 2021-12-10 15:34:44 +11:00
parent a71a4f9baa
commit be8a2a894f
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
8 changed files with 115 additions and 16 deletions

View file

@ -32,6 +32,8 @@ import shutil
import subprocess
import requests
from bridges import UpdateTorBridges
def main():
dmg_url = "https://dist.torproject.org/torbrowser/11.0a10/TorBrowser-11.0a10-osx64_en-US.dmg"
@ -113,6 +115,9 @@ def main():
# Eject dmg
subprocess.call(["diskutil", "eject", "/Volumes/Tor Browser"])
# Fetch the built-in bridges
UpdateTorBridges(root_path)
if __name__ == "__main__":
main()