mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-21 18:40:16 +10:00
wxPython Workflow: Add legacy binary
This commit is contained in:
10
merge_gui_legacy.py
Normal file
10
merge_gui_legacy.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# Updates build version in OCLP-GUI during CI builds
|
||||
# Copyright (C) 2021 Mykola Grymalyuk
|
||||
import plistlib
|
||||
from pathlib import Path
|
||||
from resources import constants
|
||||
|
||||
app_path = Path.cwd() / Path ("OpenCore-Patcher-Legacy.app/Contents/Info.plist")
|
||||
info = plistlib.load(Path(app_path).open("rb"))
|
||||
info["CFBundleExecutable"] = "Launcher"
|
||||
plistlib.dump(info, Path(app_path).open("wb"), sort_keys=True)
|
||||
Reference in New Issue
Block a user