For Ryzen APU-based, default to using ForgedInvariant only for laptops

This commit is contained in:
Hoang Hong Quan
2024-11-26 14:07:59 +07:00
parent 490436300d
commit 5b9b52f975

View File

@@ -142,8 +142,7 @@ class KextMaestro:
else:
selected_kexts.append("NootRX" if "Navi 22" in list(hardware_report.get("GPU").items())[0][-1].get("Codename") else "WhateverGreen")
if "Laptop" in hardware_report.get("Motherboard").get("Platform") and "ASUS" in hardware_report.get("Motherboard").get("Name") or \
"NootedRed" in selected_kexts or \
if "Laptop" in hardware_report.get("Motherboard").get("Platform") and ("ASUS" in hardware_report.get("Motherboard").get("Name") or "NootedRed" in selected_kexts) or \
self.is_intel_hedt_cpu(hardware_report.get("CPU").get("Codename")):
selected_kexts.append("ForgedInvariant")