diff --git a/Resources/Constants.py b/Resources/Constants.py index 7bc819c80..c450bcf05 100644 --- a/Resources/Constants.py +++ b/Resources/Constants.py @@ -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" diff --git a/Resources/build.py b/Resources/build.py index d3df3c8f6..a57e09cff 100644 --- a/Resources/build.py +++ b/Resources/build.py @@ -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 diff --git a/payloads/Config/v0.6.7/config.plist b/payloads/Config/v0.6.7/config.plist index 7f027bbb2..2e9346941 100644 --- a/payloads/Config/v0.6.7/config.plist +++ b/payloads/Config/v0.6.7/config.plist @@ -4,12 +4,12 @@ #Revision - Patcher-Version - OpenCore-Version Original-Model + Patcher-Version + ACPI