sys_patch_detect.py: Adjust FaceTime patch naming

This commit is contained in:
Mykola Grymalyuk
2023-07-23 11:06:51 -06:00
parent 169ea95dc4
commit 509137f519
3 changed files with 5 additions and 5 deletions

View File

@@ -1248,8 +1248,8 @@ class SystemPatchDictionary():
},
},
},
"PCIe Web Camera": {
"Display Name": "Miscellaneous: PCIe Web Camera",
"PCIe FaceTime Camera": {
"Display Name": "Miscellaneous: PCIe FaceTime Camera",
"OS Support": {
"Minimum OS Support": {
"OS Major": os_data.os_data.sonoma,

View File

@@ -602,7 +602,7 @@ class DetectRootPatch:
"Miscellaneous: Legacy GMUX": self.legacy_gmux,
"Miscellaneous: Legacy Keyboard Backlight": self.legacy_keyboard_backlight,
"Miscellaneous: Legacy USB 1.1": self.legacy_uhci_ohci,
"Miscellaneous: PCIe Web Camera": self.legacy_pcie_webcam,
"Miscellaneous: PCIe FaceTime Camera": self.legacy_pcie_webcam,
"Settings: Requires AMFI exemption": self.amfi_must_disable,
"Settings: Supports Auxiliary Cache": not self.requires_root_kc,
"Settings: Kernel Debug Kit missing": self.missing_kdk if self.constants.detected_os >= os_data.os_data.ventura.value else False,

View File

@@ -179,8 +179,8 @@ class GenerateRootPatchSets:
if self.hardware_details["Miscellaneous: Legacy USB 1.1"] is True:
required_patches.update({"Legacy USB 1.1": all_hardware_patchset["Miscellaneous"]["Legacy USB 1.1"]})
if self.hardware_details["Miscellaneous: PCIe Web Camera"] is True:
required_patches.update({"PCIe Web Camera": all_hardware_patchset["Miscellaneous"]["PCIe Web Camera"]})
if self.hardware_details["Miscellaneous: PCIe FaceTime Camera"] is True:
required_patches.update({"PCIe FaceTime Camera": all_hardware_patchset["Miscellaneous"]["PCIe FaceTime Camera"]})
if required_patches:
host_os_float = float(f"{self.constants.detected_os}.{self.constants.detected_os_minor}")