Copy snowflake-client from macOS Tor Browser

This commit is contained in:
Micah Lee 2021-11-06 20:46:52 -07:00
parent 4e62b8831a
commit fa70368a8d
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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"])