[PR] #132 from OldWorldOrdr: Update macOS version name list
This commit is contained in:
commit
cdae93479f
1 changed files with 17 additions and 16 deletions
33
neofetch
33
neofetch
|
@ -1345,23 +1345,24 @@ get_distro() {
|
|||
|
||||
"Mac OS X"|"macOS")
|
||||
case $osx_version in
|
||||
10.4*) codename="Mac OS X Tiger" ;;
|
||||
10.5*) codename="Mac OS X Leopard" ;;
|
||||
10.4*) codename="Mac OS X Tiger" ;;
|
||||
10.5*) codename="Mac OS X Leopard" ;;
|
||||
10.6*) codename="Mac OS X Snow Leopard" ;;
|
||||
10.7*) codename="Mac OS X Lion" ;;
|
||||
10.8*) codename="OS X Mountain Lion" ;;
|
||||
10.9*) codename="OS X Mavericks" ;;
|
||||
10.10*) codename="OS X Yosemite" ;;
|
||||
10.11*) codename="OS X El Capitan" ;;
|
||||
10.12*) codename="macOS Sierra" ;;
|
||||
10.13*) codename="macOS High Sierra" ;;
|
||||
10.14*) codename="macOS Mojave" ;;
|
||||
10.15*) codename="macOS Catalina" ;;
|
||||
10.16*) codename="macOS Big Sur" ;;
|
||||
11.*) codename="macOS Big Sur" ;;
|
||||
12.*) codename="macOS Monterey" ;;
|
||||
13.*) codename="macOS Ventura" ;;
|
||||
*) codename=macOS ;;
|
||||
10.7*) codename="Mac OS X Lion" ;;
|
||||
10.8*) codename="OS X Mountain Lion" ;;
|
||||
10.9*) codename="OS X Mavericks" ;;
|
||||
10.10*) codename="OS X Yosemite" ;;
|
||||
10.11*) codename="OS X El Capitan" ;;
|
||||
10.12*) codename="macOS Sierra" ;;
|
||||
10.13*) codename="macOS High Sierra" ;;
|
||||
10.14*) codename="macOS Mojave" ;;
|
||||
10.15*) codename="macOS Catalina" ;;
|
||||
10.16*) codename="macOS Big Sur" ;;
|
||||
11.*) codename="macOS Big Sur" ;;
|
||||
12.*) codename="macOS Monterey" ;;
|
||||
13.*) codename="macOS Ventura" ;;
|
||||
14.*) codename="macOS Sonoma" ;;
|
||||
*) codename="macOS" ;;
|
||||
esac
|
||||
|
||||
distro="$codename $osx_version ($osx_build)"
|
||||
|
|
Loading…
Reference in a new issue