diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2021-07-20 22:07:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 22:07:11 +0300 |
commit | 93a681006f009ebea1add28cc70ff0768105badf (patch) | |
tree | 279f70c69fee77d029811f119b9b4ffc1bd2c083 /include/osdetection | |
parent | daa2b173cb9c740578e354b6c4db94c0231f9b3c (diff) | |
parent | fff5df170e00380e1882ca10a4dd00e0c1ada640 (diff) |
Merge pull request #1169 from al-lac/macos-detection
Fix Big Sur Detection and add macOS Monterey
Diffstat (limited to 'include/osdetection')
-rw-r--r-- | include/osdetection | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection index 8377a1ae..60063dd1 100644 --- a/include/osdetection +++ b/include/osdetection @@ -62,7 +62,8 @@ 10.13 | 10.13.[0-9]*) OS_FULLNAME="macOS High Sierra (${OS_VERSION})" ;; 10.14 | 10.14.[0-9]*) OS_FULLNAME="macOS Mojave (${OS_VERSION})" ;; 10.15 | 10.15.[0-9]*) OS_FULLNAME="macOS Catalina (${OS_VERSION})" ;; - 11.0 | 11.0[0-9]*) OS_FULLNAME="macOS Big Sur (${OS_VERSION})" ;; + 11 | 11.[0-9]*) OS_FULLNAME="macOS Big Sur (${OS_VERSION})" ;; + 12 | 12.[0-9]*) OS_FULLNAME="macOS Monterey (${OS_VERSION})" ;; *) echo "Unknown macOS version. Do you know what version it is? Create an issue at ${PROGRAM_SOURCE}" ;; esac else |