mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
Add extra version logging to config.plist
This commit is contained in:
@@ -9,6 +9,7 @@ from pathlib import Path
|
||||
class Constants:
|
||||
def __init__(self):
|
||||
self.patcher_version = "0.0.11"
|
||||
self.opencore_commit = "cbd2fa3"
|
||||
self.opencore_version = "0.6.7"
|
||||
self.lilu_version = "1.5.1"
|
||||
self.whatevergreen_version = "1.4.8"
|
||||
|
||||
@@ -59,9 +59,9 @@ class BuildOpenCore:
|
||||
self.config = plistlib.load(Path(self.constants.plist_path).open("rb"))
|
||||
|
||||
# Set revision in config
|
||||
self.config["#Revision"]["Patcher-Version"] = self.constants.patcher_version
|
||||
self.config["#Revision"]["OpenCore-Version"] = self.constants.opencore_version
|
||||
self.config["#Revision"]["OpenCore-Version"] = f"{self.constants.opencore_version} {self.constants.opencore_commit}"
|
||||
self.config["#Revision"]["Original-Model"] = self.model
|
||||
self.config["#Revision"]["Patcher-Version"] = self.constants.patcher_version
|
||||
|
||||
for name, version, path, check in [
|
||||
# Essential kexts
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
<dict>
|
||||
<key>#Revision</key>
|
||||
<dict>
|
||||
<key>Patcher-Version</key>
|
||||
<string></string>
|
||||
<key>OpenCore-Version</key>
|
||||
<string></string>
|
||||
<key>Original-Model</key>
|
||||
<string></string>
|
||||
<key>Patcher-Version</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
<key>ACPI</key>
|
||||
<dict>
|
||||
|
||||
Reference in New Issue
Block a user