From 4bd6f581019a8286520123f2328dd18820e63a87 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Sun, 23 Jun 2024 16:28:46 +0200 Subject: [PATCH] #2331 #2324 fix version check --- src/osax/common.h | 2 +- src/osax/payload.m | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/osax/common.h b/src/osax/common.h index 564710bb..3fddb921 100644 --- a/src/osax/common.h +++ b/src/osax/common.h @@ -1,7 +1,7 @@ #ifndef SA_COMMON_H #define SA_COMMON_H -#define OSAX_VERSION "2.1.12" +#define OSAX_VERSION "2.1.13" #define OSAX_ATTRIB_DOCK_SPACES 0x01 #define OSAX_ATTRIB_DPPM 0x02 diff --git a/src/osax/payload.m b/src/osax/payload.m index 946f0a05..703fd2b6 100644 --- a/src/osax/payload.m +++ b/src/osax/payload.m @@ -230,6 +230,8 @@ static bool verify_os_version(NSOperatingSystemVersion os_version) return true; // Ventura 13.0 } else if (os_version.majorVersion == 14) { return true; // Sonoma 14.0 + } else if (os_version.majorVersion == 15) { + return true; // Sequoia 15.0 } NSLog(@"[yabai-sa] spaces functionality is only supported on macOS Big Sur 11.0.0+, Monterey 12.0.0+, Ventura 13.0.0+, and Sonoma 14.0.0+"); @@ -240,6 +242,8 @@ static bool verify_os_version(NSOperatingSystemVersion os_version) return true; // Ventura 13.0 } else if (os_version.majorVersion == 14) { return true; // Sonoma 14.0 + } else if (os_version.majorVersion == 15) { + return true; // Sequoia 15.0 } NSLog(@"[yabai-sa] spaces functionality is only supported on macOS Monterey 12.0.0+, and Ventura 13.0.0+, and Sonoma 14.0.0+");