mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 06:55:09 -04:00
Copy snowflake-client from macOS Tor Browser
This commit is contained in:
parent
42507b1138
commit
22fc1354ce
1 changed files with 8 additions and 0 deletions
|
@ -101,6 +101,14 @@ def main():
|
||||||
os.path.join(dist_path, "obfs4proxy"),
|
os.path.join(dist_path, "obfs4proxy"),
|
||||||
)
|
)
|
||||||
os.chmod(os.path.join(dist_path, "obfs4proxy"), 0o755)
|
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
|
# Eject dmg
|
||||||
subprocess.call(["diskutil", "eject", "/Volumes/Tor Browser"])
|
subprocess.call(["diskutil", "eject", "/Volumes/Tor Browser"])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue