mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
build.py: Ensure WEG is installed on Mac Pro configs
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
- Avoids Apple's odd bug of publishing 2 different 12.5.1 products
|
- Avoids Apple's odd bug of publishing 2 different 12.5.1 products
|
||||||
- Implement deeper macOS installer parsing
|
- Implement deeper macOS installer parsing
|
||||||
- Provides better version detection than Apple provides in .app
|
- Provides better version detection than Apple provides in .app
|
||||||
|
- Ensure WhateverGreen is always installed on Mac Pro configurations
|
||||||
|
|
||||||
## 0.4.10
|
## 0.4.10
|
||||||
- Resolve Nvidia Kepler support in macOS 12.5 Beta 3 and newer
|
- Resolve Nvidia Kepler support in macOS 12.5 Beta 3 and newer
|
||||||
|
|||||||
@@ -723,6 +723,8 @@ class BuildOpenCore:
|
|||||||
print("- Adding Mac Pro, Xserve DRM patches")
|
print("- Adding Mac Pro, Xserve DRM patches")
|
||||||
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " shikigva=128 unfairgva=1 -wegtree"
|
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " shikigva=128 unfairgva=1 -wegtree"
|
||||||
|
|
||||||
|
if not self.get_kext_by_bundle_path("WhateverGreen.kext")["Enabled"] is True:
|
||||||
|
self.enable_kext("WhateverGreen.kext", self.constants.whatevergreen_version, self.constants.whatevergreen_path)
|
||||||
|
|
||||||
if not self.constants.custom_model:
|
if not self.constants.custom_model:
|
||||||
for i, device in enumerate(self.computer.gpus):
|
for i, device in enumerate(self.computer.gpus):
|
||||||
|
|||||||
Reference in New Issue
Block a user