mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-25 16:37:42 +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() ) {
|
if ( !Prop->isString() ) {
|
||||||
MsgLog("ATTENTION : property not string in Kernel Flags\n");
|
MsgLog("ATTENTION : property not string in Kernel Flags\n");
|
||||||
}else{
|
}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;
|
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;
|
OSVersion = "12"_XS8;
|
||||||
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%2010.16")) {
|
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%2010.16")) {
|
||||||
OSVersion = "10.16"_XS8;
|
OSVersion = "10.16"_XS8;
|
||||||
|
Loading…
Reference in New Issue
Block a user