From 66452b8898f8c89dc3c7d0d973013a9dd2db36e6 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Tue, 23 Aug 2022 18:35:23 -0600 Subject: [PATCH] sys_patch_detect: Print KDK error for non-GUI enviroments --- resources/sys_patch_detect.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/sys_patch_detect.py b/resources/sys_patch_detect.py index 279b96c27..054af7af9 100644 --- a/resources/sys_patch_detect.py +++ b/resources/sys_patch_detect.py @@ -356,6 +356,10 @@ class detect_root_patch: print("\nCannot patch! WhateverGreen.kext missing") print("Please ensure WhateverGreen.kext is installed") + if self.amfi_must_disable is True: + if self.missing_kdk is True: + print("\nCannot patch! Kernel Debug Kit missing") + print(f"Please ensure the correct KDK is installed (required: {self.constants.detected_os_build})") if any( [