From 23ed2572abc494b4475f7f136f669d51aa65d3de Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 2 Oct 2022 11:27:06 -0700 Subject: [PATCH] Don't copy obfs4proxy and snowflake binaries from Tor Browser --- desktop/scripts/get-tor.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/desktop/scripts/get-tor.py b/desktop/scripts/get-tor.py index 84240e8e..0f67fde8 100644 --- a/desktop/scripts/get-tor.py +++ b/desktop/scripts/get-tor.py @@ -196,20 +196,6 @@ def get_tor_macos(): os.path.join(dmg_tor_path, "MacOS", "Tor", "libevent-2.1.7.dylib"), os.path.join(dist_path, "libevent-2.1.7.dylib"), ) - # obfs4proxy binary - shutil.copyfile( - os.path.join(dmg_tor_path, "MacOS", "Tor", "PluggableTransports", "obfs4proxy"), - os.path.join(dist_path, "obfs4proxy"), - ) - os.chmod(os.path.join(dist_path, "obfs4proxy"), 0o755) - # snowflake-client binary - shutil.copyfile( - os.path.join( - dmg_tor_path, "MacOS", "Tor", "PluggableTransports", "snowflake-client" - ), - os.path.join(dist_path, "snowflake-client"), - ) - os.chmod(os.path.join(dist_path, "snowflake-client"), 0o755) # Eject dmg subprocess.call(["diskutil", "eject", "/Volumes/Tor Browser"])