[U] Update mac model list

Closes #140
This commit is contained in:
Azalea 2023-06-30 01:27:00 -07:00
parent 3edca64629
commit 4b1546ccd6

View file

@ -1511,7 +1511,17 @@ get_model() {
fi fi
case $model in case $model in
Mac14,15): "MacBook Air (15-inch, M2, 2023)" ;;
Mac14,14): "Mac Studio (M2 Max, 2023)" ;;
Mac14,13): "Mac Studio (M2 Ultra, 2023)" ;;
Mac14,8): "Mac Pro (2023)" ;;
Mac14,6 | Mac14,10): "MacBook Pro (16-inch, 2023)" ;;
Mac14,5 | Mac14,9): "MacBook Pro (14-inch, 2023)" ;;
Mac14,12 | Mac14,3): "Mac mini (2023)" ;;
Mac14,7): "MacBook Pro (13-inch, M2, 2022)" ;; Mac14,7): "MacBook Pro (13-inch, M2, 2022)" ;;
Mac14,2): "MacBook Air (M2, 2022)" ;;
Mac13,1): "Mac Studio (M1 Max, 2022)" ;;
Mac13,2): "Mac Studio (M1 Ultra, 2022)" ;;
MacBookPro18,[3-4]): "MacBook Pro (14-inch, 2021)" ;; MacBookPro18,[3-4]): "MacBook Pro (14-inch, 2021)" ;;
MacBookPro18,[1-2]): "MacBook Pro (16-inch, 2021)" ;; MacBookPro18,[1-2]): "MacBook Pro (16-inch, 2021)" ;;
MacBookPro17,1): "MacBook Pro (13-inch, M1, 2020)" ;; MacBookPro17,1): "MacBook Pro (13-inch, M1, 2020)" ;;
@ -1548,7 +1558,6 @@ get_model() {
MacBookPro5,2): "MacBook Pro (17-inch, Mid/Early 2009)" ;; MacBookPro5,2): "MacBook Pro (17-inch, Mid/Early 2009)" ;;
MacBookPro5,1): "MacBook Pro (15-inch, Late 2008)" ;; MacBookPro5,1): "MacBook Pro (15-inch, Late 2008)" ;;
MacBookPro4,1): "MacBook Pro (17/15-inch, Early 2008)" ;; MacBookPro4,1): "MacBook Pro (17/15-inch, Early 2008)" ;;
Mac14,2): "MacBook Air (M2, 2022)" ;;
MacBookAir10,1): "MacBook Air (M1, 2020)" ;; MacBookAir10,1): "MacBook Air (M1, 2020)" ;;
MacBookAir9,1): "MacBook Air (Retina, 13-inch, 2020)" ;; MacBookAir9,1): "MacBook Air (Retina, 13-inch, 2020)" ;;
MacBookAir8,2): "MacBook Air (Retina, 13-inch, 2019)" ;; MacBookAir8,2): "MacBook Air (Retina, 13-inch, 2019)" ;;
@ -1570,14 +1579,12 @@ get_model() {
MacBook7,1): "MacBook (13-inch, Mid 2010)" ;; MacBook7,1): "MacBook (13-inch, Mid 2010)" ;;
MacBook6,1): "MacBook (13-inch, Late 2009)" ;; MacBook6,1): "MacBook (13-inch, Late 2009)" ;;
MacBook5,2): "MacBook (13-inch, Early/Mid 2009)" ;; MacBook5,2): "MacBook (13-inch, Early/Mid 2009)" ;;
Mac13,1): "Mac Studio (2022, Two USB-C front ports)" ;;
Mac13,2): "Mac Studio (2022, Two Thunderbolt 4 front ports)" ;;
Macmini9,1): "Mac mini (M1, 2020)" ;; Macmini9,1): "Mac mini (M1, 2020)" ;;
Macmini8,1): "Mac mini (2018)" ;; Macmini8,1): "Mac mini (2018)" ;;
Macmini7,1): "Mac mini (Mid 2014)" ;; Macmini7,1): "Mac mini (Mid 2014)" ;;
Macmini6,[1-2]): "Mac mini (Late 2012)" ;; Macmini6,[1-2]): "Mac mini (Late 2012)" ;;
Macmini5,[1-2]): "Mac mini (Mid 2011)" ;; Macmini5,[1-2]): "Mac mini (Mid 2011)" ;;
Macmini4,1): "Mac mini (Mid 2010)" ;; Macmini4,1): MacPromini (Mid 2010)" ;;
Macmini3,1): "Mac mini (Early/Late 2009)" ;; Macmini3,1): "Mac mini (Early/Late 2009)" ;;
MacPro7,1): "Mac Pro (2019)" ;; MacPro7,1): "Mac Pro (2019)" ;;
MacPro6,1): "Mac Pro (Late 2013)" ;; MacPro6,1): "Mac Pro (Late 2013)" ;;