mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
correct Monterey installer name
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
fd780172d3
commit
15199eea5d
@ -578,9 +578,9 @@ MacOsVersion GetOSVersion(int LoaderType, const XStringW& APFSTargetUUID, const
|
||||
if ( !Prop->isString() ) {
|
||||
MsgLog("ATTENTION : property not string in Kernel Flags\n");
|
||||
}else{
|
||||
if ( Prop->getString()->stringValue().contains("Install%20macOS%20BigSur") || Prop->getString()->stringValue().contains("Install%20macOS%2011.0")) {
|
||||
if ( Prop->getString()->stringValue().contains("Install%20macOS%20BigSur") || Prop->getString()->stringValue().contains("Install%20macOS%2011")) {
|
||||
OSVersion = "11"_XS8;
|
||||
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%2012.0")) {
|
||||
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%20Monterey") || Prop->getString()->stringValue().contains("Install%20macOS%2012")) {
|
||||
OSVersion = "12"_XS8;
|
||||
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%2010.16")) {
|
||||
OSVersion = "10.16"_XS8;
|
||||
|
Loading…
Reference in New Issue
Block a user