account all 11.x.y system will be BigSur

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2020-11-26 21:42:33 +03:00
parent c9cfc183d9
commit e08a686e13

View File

@ -6662,7 +6662,7 @@ GetOSIconName (const MacOsVersion& OSVersion)
if (OSVersion.isEmpty()) {
OSIconName = L"mac"_XSW;
} else if ( (OSVersion.elementAt(0) == 10 && OSVersion.elementAt(1) == 16 ) ||
(OSVersion.elementAt(0) == 11 && OSVersion.elementAt(1) == 0 )
(OSVersion.elementAt(0) == 11 /*&& OSVersion.elementAt(1) == 0*/ )
) {
// Big Sur
OSIconName = L"bigsur,mac"_XSW;