From 8718c620d321fc42dd234803b096804be403763d Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Tue, 3 Oct 2023 07:39:20 -0600 Subject: [PATCH] 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 --- CHANGELOG.md | 2 ++ resources/sys_patch/sys_patch_detect.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ded3d71f6..2c2e11115 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## 1.1.0 - Add error handling for corrupted patcher settings - Remove CoreImage patch for 3802 GPUs on Ventura +- Avoid listing PCIe FaceTime camera patch on pre-Sonoma OSes + - Only cometic in Root Patching UI, however removed to avoid confusion ## 1.0.0 - Resolve BCM2046 and BCM2070 support on macOS 13.3 and newer diff --git a/resources/sys_patch/sys_patch_detect.py b/resources/sys_patch/sys_patch_detect.py index 947296423..87e60b793 100644 --- a/resources/sys_patch/sys_patch_detect.py +++ b/resources/sys_patch/sys_patch_detect.py @@ -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