build.py: Ensure WEG is installed on Mac Pro configs

This commit is contained in:
Mykola Grymalyuk
2022-08-27 13:00:20 -06:00
parent c1ba7cd6cb
commit 45654bce16
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
- Avoids Apple's odd bug of publishing 2 different 12.5.1 products
- Implement deeper macOS installer parsing
- Provides better version detection than Apple provides in .app
- Ensure WhateverGreen is always installed on Mac Pro configurations
## 0.4.10
- Resolve Nvidia Kepler support in macOS 12.5 Beta 3 and newer

View File

@@ -723,6 +723,8 @@ class BuildOpenCore:
print("- Adding Mac Pro, Xserve DRM patches")
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:
for i, device in enumerate(self.computer.gpus):