mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-25 11:55:28 +01:00
add 13 folder
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
64c888a615
commit
a5e5d3b1cc
@ -396,7 +396,8 @@ SetVariablesForOSX(LOADER_ENTRY *Entry)
|
||||
gSettings.RtVariables.HWTarget = GetHWTarget(GlobalConfig.CurrentModel);
|
||||
}
|
||||
|
||||
if (gSettings.RtVariables.HWTarget.notEmpty() && (Entry->LoaderType != OSTYPE_OSX_INSTALLER) && (Entry->macOSVersion < MacOsVersion("13"_XS8) ) ) {
|
||||
if (gSettings.RtVariables.HWTarget.notEmpty() && (Entry->LoaderType != OSTYPE_OSX_INSTALLER) &&
|
||||
(Entry->macOSVersion < MacOsVersion("13"_XS8) /*|| gSettings.RtVariables.HWTarget.c_str()[0] != '#'*/) ) {
|
||||
SetNvramXString8(L"BridgeOSHardwareModel", gEfiAppleNvramGuid, Attributes, gSettings.RtVariables.HWTarget);
|
||||
} else {
|
||||
DeleteNvramVariable(L"BridgeOSHardwareModel", gEfiAppleNvramGuid);
|
||||
|
Loading…
Reference in New Issue
Block a user