Add macOS 12 to version name list (#1783)

This commit is contained in:
Kid 2021-06-17 15:29:19 +08:00 committed by GitHub
parent a980dc8e8b
commit bc71e732a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1151,6 +1151,7 @@ get_distro() {
10.15*) codename="macOS Catalina" ;; 10.15*) codename="macOS Catalina" ;;
10.16*) codename="macOS Big Sur" ;; 10.16*) codename="macOS Big Sur" ;;
11.0*) codename="macOS Big Sur" ;; 11.0*) codename="macOS Big Sur" ;;
12.0*) codename="macOS Monterey" ;;
*) codename=macOS ;; *) codename=macOS ;;
esac esac