44"""
55
66from ..base import BaseHardware , HardwareVariant
7-
7+ from ..... detections . amfi_detect import AmfiConfigDetectLevel
88from ...base import PatchType
99
1010from .....constants import Constants
@@ -25,10 +25,18 @@ def name(self) -> str:
2525 Display name for end users
2626 """
2727 return f"{ self .hardware_variant ()} : LaunchPad ({ self ._constants .launchpad_version } )"
28+ def required_amfi_level (self ) -> AmfiConfigDetectLevel :
29+ """
30+ What level of AMFI configuration is required for this patch set
31+ Currently defaulted to AMFI needing to be disabled
32+ """
33+ return AmfiConfigDetectLevel .NO_CHECK
34+
2835
2936
3037 def present (self ) -> bool :
3138 return self ._constants .change_launchpad
39+
3240 def requires_kernel_debug_kit (self ) -> bool :
3341 """
3442 Apple no longer provides standalone kexts in the base OS
@@ -51,9 +59,9 @@ def hardware_variant(self) -> HardwareVariant:
5159 return HardwareVariant .MISCELLANEOUS
5260
5361
54- def _modern_audio_patches (self ) -> dict :
62+ def _launchpad_patches (self ) -> dict :
5563 """
56- Patches for Modern Audio
64+ Patches for LaunchPad
5765 """
5866 if self ._constants .launchpad_version != "26.0 Beta 4" and self ._constants .launchpad_version != "26.0 Beta 2" :
5967 self ._constants .launchpad_version = "26.0 Beta 4"
@@ -80,4 +88,4 @@ def patches(self) -> dict:
8088 if self .native_os () is True :
8189 return {}
8290
83- return self ._modern_audio_patches ()
91+ return self ._launchpad_patches ()
0 commit comments