1
0
Fork 0

Merge pull request #108978 from adamscott/tahoe-26

[macOS] Add Tahoe 26.0 to version alias
This commit is contained in:
Thaddeus Crews 2025-07-27 10:28:32 -05:00
commit 4927bbf309
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 3 additions and 1 deletions

View File

@ -315,7 +315,9 @@ String OS_MacOS::get_version() const {
String OS_MacOS::get_version_alias() const {
NSOperatingSystemVersion ver = [NSProcessInfo processInfo].operatingSystemVersion;
String macos_string;
if (ver.majorVersion == 15) {
if (ver.majorVersion == 26) {
macos_string += "Tahoe";
} else if (ver.majorVersion == 15) {
macos_string += "Sequoia";
} else if (ver.majorVersion == 14) {
macos_string += "Sonoma";