Add Windows GPU switching

This commit is contained in:
Mykola Grymalyuk
2021-08-15 13:48:58 -06:00
parent 28746bbe2b
commit dfdf4529d2
5 changed files with 45 additions and 1 deletions

View File

@@ -684,6 +684,9 @@ class BuildOpenCore:
if self.constants.validate is False:
print("- Adding bootmgfw.efi BlessOverride")
self.config["Misc"]["BlessOverride"] += ["\\EFI\\Microsoft\\Boot\\bootmgfw.efi"]
if self.model in ModelArray.dGPU_switch:
print("- Allowing GMUX switching in Windows")
self.config["Booter"]["Quirks"]["SignalAppleOS"] = True
def set_smbios(self):
spoofed_model = self.model