Skip to content

Commit

Permalink
Publish CFBundleVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed May 27, 2024
1 parent fdddb83 commit c5dae2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Build-Project.command
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down
1 change: 1 addition & 0 deletions OpenCore-Patcher-GUI.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c5dae2c

Please sign in to comment.