mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
OcKernelCache Auto if empty string.
This commit is contained in:
parent
73f29eb538
commit
3877d988f3
@ -852,7 +852,11 @@ FillinKextPatches (IN OUT KERNEL_AND_KEXT_PATCHES *Patches,
|
||||
Prop = DictPointer->propertyForKey("OcKernelCache");
|
||||
if (Prop != NULL || gBootChanged) {
|
||||
if ( Prop->isString() ) {
|
||||
Patches->OcKernelCache = Prop->getString()->stringValue();
|
||||
if ( Prop->getString()->stringValue().notEmpty() ) {
|
||||
Patches->OcKernelCache = Prop->getString()->stringValue();
|
||||
}else{
|
||||
Patches->OcKernelCache = "Auto"_XS8;
|
||||
}
|
||||
}else{
|
||||
MsgLog("MALFORMED PLIST : KernelAndKextPatches/KernelCache must be a string");
|
||||
Patches->OcKernelCache = "Auto"_XS8;
|
||||
|
Loading…
Reference in New Issue
Block a user