mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
sys_patch_detect: fix boolean check
This commit is contained in:
@@ -271,7 +271,7 @@ class detect_root_patch:
|
|||||||
required_patches.update({"Legacy WiFi": all_hardware_patchset["Networking"]["Legacy WiFi"]})
|
required_patches.update({"Legacy WiFi": all_hardware_patchset["Networking"]["Legacy WiFi"]})
|
||||||
if hardware_details["Miscellaneous: Legacy GMUX"] is True:
|
if hardware_details["Miscellaneous: Legacy GMUX"] is True:
|
||||||
required_patches.update({"Legacy GMUX": all_hardware_patchset["Miscellaneous"]["Legacy GMUX"]})
|
required_patches.update({"Legacy GMUX": all_hardware_patchset["Miscellaneous"]["Legacy GMUX"]})
|
||||||
if hardware_details["Miscellaneous: Legacy Keyboard Backlight"]:
|
if hardware_details["Miscellaneous: Legacy Keyboard Backlight"] is True:
|
||||||
required_patches.update({"Legacy Keyboard Backlight": all_hardware_patchset["Miscellaneous"]["Legacy Keyboard Backlight"]})
|
required_patches.update({"Legacy Keyboard Backlight": all_hardware_patchset["Miscellaneous"]["Legacy Keyboard Backlight"]})
|
||||||
|
|
||||||
if required_patches:
|
if required_patches:
|
||||||
|
|||||||
Reference in New Issue
Block a user