Ensure correct accel patches apply in Monterey

Thanks Larsvonhier for pointing this out!
This commit is contained in:
Mykola Grymalyuk
2021-09-13 10:01:37 -06:00
parent 0e1aaf0bbd
commit f0c73164d9

View File

@@ -299,8 +299,8 @@ set million colour before rebooting"""
elif self.constants.detected_os == self.constants.catalina:
print("- Installing General Acceleration Kext patches for Catalina")
self.add_new_binaries(SysPatchArray.AddGeneralAccelCatalina, self.constants.legacy_general_path)
elif self.constants.detected_os == self.constants.big_sur:
print("- Installing General Acceleration Kext patches for Big Sur")
elif self.constants.detected_os in [self.constants.big_sur, self.constants.monterey]:
print("- Installing General Acceleration Kext patches for Big Sur/Monterey")
self.add_new_binaries(SysPatchArray.AddGeneralAccel, self.constants.legacy_general_path)
# Nvidia