Publish CFBundleVersion

This commit is contained in:
Mykola Grymalyuk
2024-05-27 10:54:54 -06:00
parent fdddb8378c
commit c5dae2c61f
2 changed files with 2 additions and 0 deletions

View File

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