Allow configuring GMUX usage for Windows

Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/502
This commit is contained in:
Mykola Grymalyuk
2021-09-24 10:29:43 -06:00
parent 2683b7a7f0
commit 0ccb2c74d2
8 changed files with 84 additions and 6 deletions

View File

@@ -249,6 +249,8 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
f"Disable Thunderbolt:\tCurrently {self.constants.disable_thunderbolt}",
CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).disable_thunderbolt,
],
[f"Set AppleALC Usage:\t\tCurrently {self.constants.set_alc_usage}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).applealc_support],
[f"Set Windows GMUX support:\tCurrently {self.constants.dGPU_switch}", CliMenu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).dGPU_switch_support],
]
for option in options: