diff --git a/CloverPackage/package/po/clover.pot b/CloverPackage/package/po/clover.pot index 4a50e3158..56371576f 100644 --- a/CloverPackage/package/po/clover.pot +++ b/CloverPackage/package/po/clover.pot @@ -6,8 +6,8 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Clover r5149\n" -"POT-Creation-Date: 2022-10-17 22:07+0300\n" +"Project-Id-Version: Clover r5150\n" +"POT-Creation-Date: 2022-12-17 13:55+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/rEFIt_UEFI/Platform/DataHubCpu.cpp b/rEFIt_UEFI/Platform/DataHubCpu.cpp index 5ac0ab5ba..db4d781bd 100644 --- a/rEFIt_UEFI/Platform/DataHubCpu.cpp +++ b/rEFIt_UEFI/Platform/DataHubCpu.cpp @@ -398,6 +398,10 @@ SetVariablesForOSX(LOADER_ENTRY *Entry) } if (gSettings.RtVariables.HWTarget.isEmpty()) { +// if (Entry->macOSVersion >= MacOsVersion("13"_XS8)) { + //test legacy model +// GlobalConfig.CurrentModel = iMac183; +// } gSettings.RtVariables.HWTarget = GetHWTarget(GlobalConfig.CurrentModel); } @@ -412,7 +416,7 @@ SetVariablesForOSX(LOADER_ENTRY *Entry) if (gSettings.RtVariables.HWTarget.notEmpty() && (Entry->LoaderType != OSTYPE_OSX_INSTALLER) && - (Entry->macOSVersion < MacOsVersion("13"_XS8)) ) { + (Entry->macOSVersion < MacOsVersion("13"_XS8)) ) { //test legacy model SetNvramXString8(L"BridgeOSHardwareModel", gEfiAppleNvramGuid, Attributes, gSettings.RtVariables.HWTarget); // SetNvramVariable(L"BridgeOSBootSessionUUID", gEfiAppleBootGuid, Attributes, sizeof(uuid), &uuid); } else { @@ -482,6 +486,7 @@ SetVariablesForOSX(LOADER_ENTRY *Entry) //Now we want manually install some SecureBoot Variables while boot.efi do this automatically. //set same values + //test legacy model // UINT64 ecid = 0; // CopyMem(&ecid, &uuid, 8); // SetNvramVariable(L"ApECID", gAppleSecureBootVariableGuid, Attributes, 8, &ecid);