[macOS] Introduce macOS-15 code (#10535)

Co-authored-by: Alexey-Ayupov <alexey-ayupov@github.com>
This commit is contained in:
Erik Bershel
2024-09-03 18:45:06 +02:00
committed by GitHub
parent ff516bd145
commit ab15087979
30 changed files with 897 additions and 89 deletions

View File

@@ -45,6 +45,18 @@ is_Arm64() {
[ "$(arch)" = "arm64" ]
}
is_Sequoia() {
[ "$OSTYPE" = "darwin24" ]
}
is_SequoiaArm64() {
is_Sequoia && is_Arm64
}
is_SequoiaX64() {
is_Sequoia && ! is_Arm64
}
is_Sonoma() {
[ "$OSTYPE" = "darwin23" ]
}