diff options
author | Micah Lee <micah@micahflee.com> | 2022-10-02 11:27:06 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-10-02 11:27:06 -0700 |
commit | 23ed2572abc494b4475f7f136f669d51aa65d3de (patch) | |
tree | 80a0d3a09b411f9804fc75e02818d3fcef09b28a /desktop | |
parent | 8d345d3040e5861d06c8aaba07b3e2bf60a9f31c (diff) | |
download | onionshare-23ed2572abc494b4475f7f136f669d51aa65d3de.tar.gz onionshare-23ed2572abc494b4475f7f136f669d51aa65d3de.zip |
Don't copy obfs4proxy and snowflake binaries from Tor Browser
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/scripts/get-tor.py | 14 |
1 files changed, 0 insertions, 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"]) |