mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added M1 / M2 Mac Mini Icon (#2274)
This commit is contained in:
@@ -524,6 +524,9 @@ public class SystemKit {
|
||||
if year >= 2024 {
|
||||
return NSImage(named: NSImage.Name("macMini2024"))!
|
||||
}
|
||||
if year >= 2020 && year <= 2023 {
|
||||
return NSImage(named: NSImage.Name("macMini2020"))!
|
||||
}
|
||||
return NSImage(named: NSImage.Name("macMini"))!
|
||||
case .macStudio:
|
||||
return NSImage(named: NSImage.Name("macStudio"))!
|
||||
|
||||
21
Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/Contents.json
vendored
Normal file
21
Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "macMini2020.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/macMini2020.png
vendored
Normal file
BIN
Stats/Supporting Files/Assets.xcassets/devices/macMini2020.imageset/macMini2020.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user