aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2021-11-06 20:46:52 -0700
committerMicah Lee <micah@micahflee.com>2021-11-06 20:46:52 -0700
commitfa70368a8d4891461ae503ba40594e456e1b4dae (patch)
treef8bc57028a4861e55bbabdd86259105267c3cb84
parent4e62b8831a867c47cfa880c7d0841ba1483da5c2 (diff)
downloadonionshare-fa70368a8d4891461ae503ba40594e456e1b4dae.tar.gz
onionshare-fa70368a8d4891461ae503ba40594e456e1b4dae.zip
Copy snowflake-client from macOS Tor Browser
-rwxr-xr-xdesktop/scripts/get-tor-osx.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/scripts/get-tor-osx.py b/desktop/scripts/get-tor-osx.py
index 410a8157..80d7aee8 100755
--- a/desktop/scripts/get-tor-osx.py
+++ b/desktop/scripts/get-tor-osx.py
@@ -101,6 +101,14 @@ def main():
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"])