new icon name os_sonoma

Signed-off-by: Slice <sergey.slice@gmail.com>
This commit is contained in:
Slice 2023-06-10 09:30:00 +03:00
parent 5a6e6e363d
commit 420cf17421

View File

@ -838,6 +838,9 @@ GetOSIconName (const MacOsVersion& OSVersion)
XStringW OSIconName;
if (OSVersion.isEmpty()) {
OSIconName = L"mac"_XSW;
} else if (OSVersion.elementAt(0) == 14 ){
// Ventura
OSIconName = L"sonoma,mac"_XSW;
} else if (OSVersion.elementAt(0) == 13 ){
// Ventura
OSIconName = L"ventura,mac"_XSW;