sys_patch_detect.py: Add Sonoma check to PCIe Camera UI label

Patch itself still has a Sonoma guard, this simply prevents the UI from showing the item
This commit is contained in:
Mykola Grymalyuk
2023-10-03 07:39:20 -06:00
parent 8a6a9ec054
commit 8718c620d3
2 changed files with 4 additions and 1 deletions

View File

@@ -538,7 +538,8 @@ class DetectRootPatch:
self.has_network = network_handler.NetworkUtilities().verify_network_connection()
self.legacy_pcie_webcam = self.constants.computer.pcie_webcam
if self.constants.detected_os >= os_data.os_data.sonoma:
self.legacy_pcie_webcam = self.constants.computer.pcie_webcam
if self._check_uhci_ohci() is True:
self.legacy_uhci_ohci = True