mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-02 09:35:33 -05:00
Merge pull request #1748 from onionshare/add-version-in-executables
Adds version information to macos
This commit is contained in:
commit
84e48d7aec
@ -159,7 +159,7 @@ def get_tor_macos(gpg, torkey, macos_url, macos_filename, expected_macos_sig):
|
||||
os.path.join(dist_path, "geoip6"),
|
||||
)
|
||||
shutil.copyfile(
|
||||
os.path.join(dmg_tor_path, "MacOS", "Tor", "tor.real"),
|
||||
os.path.join(dmg_tor_path, "MacOS", "Tor", "tor"),
|
||||
os.path.join(dist_path, "tor"),
|
||||
)
|
||||
os.chmod(os.path.join(dist_path, "tor"), 0o755)
|
||||
|
@ -146,6 +146,10 @@ setup(
|
||||
"bdist_mac": {
|
||||
"iconfile": os.path.join("onionshare", "resources", "onionshare.icns"),
|
||||
"bundle_name": "OnionShare",
|
||||
"plist_items": [
|
||||
("CFBundleShortVersionString", version),
|
||||
("CFBundleVersion", version),
|
||||
],
|
||||
},
|
||||
},
|
||||
executables=[
|
||||
|
Loading…
x
Reference in New Issue
Block a user