From 9955b76c1e850f7faf3c2e70628abf84c68ea6fb Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Mon, 6 Sep 2021 22:40:54 -0600 Subject: [PATCH] Add Monterey WebKit patch to legacy GPUs --- Resources/SysPatch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 3e2c46212..2c53b69f3 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -396,6 +396,9 @@ set million colour before rebooting""" def gpu_accel_legacy_extended(self): print("- Merging general legacy Frameworks") self.elevated(["rsync", "-r", "-i", "-a", f"{self.constants.payload_apple_frameworks_path_accel}/", self.mount_frameworks], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + if self.constants.detected_os > self.constants.big_sur: + print("- Merging Monterey WebKit patch") + self.elevated(["rsync", "-r", "-i", "-a", f"{self.constants.payload_apple_frameworks_path_accel_ivy}/", self.mount_frameworks], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) print("- Merging general legacy PrivateFrameworks") self.elevated(["rsync", "-r", "-i", "-a", f"{self.constants.payload_apple_private_frameworks_path_accel}/", self.mount_private_frameworks], stdout=subprocess.PIPE)