mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-22 02:50:15 +10:00
Merge branch 'main' into sys_patch-refactor
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
# OpenCore Legacy Patcher changelog
|
# OpenCore Legacy Patcher changelog
|
||||||
|
|
||||||
## 0.4.5
|
## 0.4.5
|
||||||
|
- Fix AutoPatcher.pkg download on releases
|
||||||
|
- Fix backported to 0.4.4 release binaries
|
||||||
|
- Add Macmini8,1 FeatureUnlock support
|
||||||
|
- Drops CPU check, supports all machines
|
||||||
- Refactor Root Patching System
|
- Refactor Root Patching System
|
||||||
|
|
||||||
## 0.4.4
|
## 0.4.4
|
||||||
|
|||||||
@@ -1581,7 +1581,13 @@ class wx_python_gui:
|
|||||||
print("- Nightly Install.pkg is missing on Github, exiting")
|
print("- Nightly Install.pkg is missing on Github, exiting")
|
||||||
return
|
return
|
||||||
|
|
||||||
if utilities.download_file(link, self.constants.installer_pkg_zip_path):
|
if link.endswith(".zip"):
|
||||||
|
path = self.constants.installer_pkg_zip_path
|
||||||
|
else:
|
||||||
|
path = self.constants.installer_pkg_path
|
||||||
|
|
||||||
|
if utilities.download_file(link, path):
|
||||||
|
if str(path).endswith(".zip"):
|
||||||
if Path(self.constants.installer_pkg_path).exists():
|
if Path(self.constants.installer_pkg_path).exists():
|
||||||
subprocess.run(["rm", self.constants.installer_pkg_path])
|
subprocess.run(["rm", self.constants.installer_pkg_path])
|
||||||
subprocess.run(["ditto", "-V", "-x", "-k", "--sequesterRsrc", "--rsrc", self.constants.installer_pkg_zip_path, self.constants.payload_path])
|
subprocess.run(["ditto", "-V", "-x", "-k", "--sequesterRsrc", "--rsrc", self.constants.installer_pkg_zip_path, self.constants.payload_path])
|
||||||
|
|||||||
@@ -166,7 +166,6 @@ class BuildOpenCore:
|
|||||||
# Required for Lilu in 11.0+
|
# Required for Lilu in 11.0+
|
||||||
self.config["Kernel"]["Quirks"]["DisableLinkeditJettison"] = True
|
self.config["Kernel"]["Quirks"]["DisableLinkeditJettison"] = True
|
||||||
|
|
||||||
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.kaby_lake.value:
|
|
||||||
if self.constants.fu_status is True:
|
if self.constants.fu_status is True:
|
||||||
# Enable FeatureUnlock.kext
|
# Enable FeatureUnlock.kext
|
||||||
self.enable_kext("FeatureUnlock.kext", self.constants.featureunlock_version, self.constants.featureunlock_path)
|
self.enable_kext("FeatureUnlock.kext", self.constants.featureunlock_version, self.constants.featureunlock_path)
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class Constants:
|
|||||||
self.repo_link = "https://github.com/dortania/OpenCore-Legacy-Patcher"
|
self.repo_link = "https://github.com/dortania/OpenCore-Legacy-Patcher"
|
||||||
self.repo_link_latest = f"{self.repo_link}/releases/tag/{self.patcher_version}"
|
self.repo_link_latest = f"{self.repo_link}/releases/tag/{self.patcher_version}"
|
||||||
self.copyright_date = "Copyright © 2020-2022 Dortania"
|
self.copyright_date = "Copyright © 2020-2022 Dortania"
|
||||||
self.installer_pkg_url = f"{self.repo_link_latest}/AutoPkg-Assets.pkg.zip"
|
self.installer_pkg_url = f"{self.repo_link}/releases/download/{self.patcher_version}/AutoPkg-Assets.pkg"
|
||||||
self.installer_pkg_url_nightly = "http://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app-wxpython/main/AutoPkg-Assets.pkg.zip"
|
self.installer_pkg_url_nightly = "http://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app-wxpython/main/AutoPkg-Assets.pkg.zip"
|
||||||
|
|
||||||
# OpenCore Versioning
|
# OpenCore Versioning
|
||||||
|
|||||||
Reference in New Issue
Block a user