From c5dae2c61f1cd3e11e8d91d76a62210986324c6a Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Mon, 27 May 2024 10:54:54 -0600 Subject: [PATCH] Publish CFBundleVersion --- Build-Project.command | 1 + OpenCore-Patcher-GUI.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/Build-Project.command b/Build-Project.command index 3ac7396a00..8dd9eeb202 100644 --- a/Build-Project.command +++ b/Build-Project.command @@ -152,6 +152,7 @@ def main() -> None: # Update app version in Info.plist plist_path = Path("dist/OpenCore-Patcher.app/Contents/Info.plist") contents = plistlib.load(plist_path.open("rb")) + contents["CFBundleVersion"] = constants.Constants().patcher_version contents["CFBundleShortVersionString"] = constants.Constants().patcher_version plistlib.dump(contents, plist_path.open("wb")) diff --git a/OpenCore-Patcher-GUI.spec b/OpenCore-Patcher-GUI.spec index c3d67bf6dd..b765aa5b83 100644 --- a/OpenCore-Patcher-GUI.spec +++ b/OpenCore-Patcher-GUI.spec @@ -74,6 +74,7 @@ app = BUNDLE(coll, bundle_identifier="com.dortania.opencore-legacy-patcher", info_plist={ "CFBundleName": "OpenCore Legacy Patcher", + "CFBundleVersion": constants.Constants().patcher_version, "CFBundleShortVersionString": constants.Constants().patcher_version, "NSHumanReadableCopyright": constants.Constants().copyright_date, "LSMinimumSystemVersion": "10.10.0",