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 16c6a9f89d
commit 9d63d0ee9b
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()