From 84bc9c461555d9095803ce30d8e56a015768509b Mon Sep 17 00:00:00 2001 From: Saptak S Date: Tue, 5 Sep 2023 14:28:15 +0530 Subject: [PATCH 1/2] Adds version to info.plist for macos --- desktop/setup-freeze.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desktop/setup-freeze.py b/desktop/setup-freeze.py index ac09389d..9fea8925 100644 --- a/desktop/setup-freeze.py +++ b/desktop/setup-freeze.py @@ -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=[ From 5f4c7df6a917c20366eafe7b26c910ed51dbbf62 Mon Sep 17 00:00:00 2001 From: Saptak S Date: Tue, 5 Sep 2023 15:18:58 +0530 Subject: [PATCH 2/2] Uses tor instead of tor.real --- desktop/scripts/get-tor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/scripts/get-tor.py b/desktop/scripts/get-tor.py index 12bf0b50..37f8d4c0 100644 --- a/desktop/scripts/get-tor.py +++ b/desktop/scripts/get-tor.py @@ -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)