mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 12:00:15 +10:00
support.py: Ignore non-kext files
This commit is contained in:
@@ -33,6 +33,8 @@ class KernelCacheSupport:
|
|||||||
["teamID"] = Team ID (blank on ad-hoc signed)
|
["teamID"] = Team ID (blank on ad-hoc signed)
|
||||||
To grab the CDHash of a kext, run 'codesign -dvvv <kext_path>'
|
To grab the CDHash of a kext, run 'codesign -dvvv <kext_path>'
|
||||||
"""
|
"""
|
||||||
|
if not kext_name.endswith(".kext"):
|
||||||
|
return False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
aux_cache_path = Path(self.mount_location_data) / Path("/private/var/db/KernelExtensionManagement/AuxKC/CurrentAuxKC/com.apple.kcgen.instructions.plist")
|
aux_cache_path = Path(self.mount_location_data) / Path("/private/var/db/KernelExtensionManagement/AuxKC/CurrentAuxKC/com.apple.kcgen.instructions.plist")
|
||||||
|
|||||||
Reference in New Issue
Block a user