fix macos big sur and monterey not showing codenames (#1815)
This commit is contained in:
parent
e6499671c1
commit
095fd04094
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1150,8 +1150,8 @@ get_distro() {
|
||||||
10.14*) codename="macOS Mojave" ;;
|
10.14*) codename="macOS Mojave" ;;
|
||||||
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.*) codename="macOS Big Sur" ;;
|
||||||
12.0*) codename="macOS Monterey" ;;
|
12.*) codename="macOS Monterey" ;;
|
||||||
*) codename=macOS ;;
|
*) codename=macOS ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue