Skip to content

Commit

Permalink
Merge pull request #2231 from dertuxmalwieder/patch-1
Browse files Browse the repository at this point in the history
Detect macOS 12
  • Loading branch information
allinurl committed Nov 19, 2021
2 parents 1d49b91 + f542214 commit 5bafe8a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/opesys.c
Expand Up @@ -213,8 +213,10 @@ get_real_win (const char *win) {
* returned. */
static char *
get_real_mac_osx (const char *osx) {
if (strstr (osx, "11.0"))
return alloc_string ("macOS 11.0 Big Sur");
if (strstr (osx, "12.0"))
return alloc_string ("macOS 12 Monterey");
else if (strstr (osx, "11.0"))
return alloc_string ("macOS 11 Big Sur");
else if (strstr (osx, "10.15"))
return alloc_string ("macOS 10.15 Catalina");
else if (strstr (osx, "10.14"))
Expand Down

0 comments on commit 5bafe8a

Please sign in to comment.