Skip to content

Commit 4927bbf

Browse files
committed
Merge pull request #108978 from adamscott/tahoe-26
[macOS] Add Tahoe 26.0 to version alias
2 parents 3c9f065 + 09a9024 commit 4927bbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

platform/macos/os_macos.mm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,9 @@
315315
String OS_MacOS::get_version_alias() const {
316316
NSOperatingSystemVersion ver = [NSProcessInfo processInfo].operatingSystemVersion;
317317
String macos_string;
318-
if (ver.majorVersion == 15) {
318+
if (ver.majorVersion == 26) {
319+
macos_string += "Tahoe";
320+
} else if (ver.majorVersion == 15) {
319321
macos_string += "Sequoia";
320322
} else if (ver.majorVersion == 14) {
321323
macos_string += "Sonoma";

0 commit comments

Comments
 (0)