feat: added M1 / M2 Mac Mini Icon (#2274)

This commit is contained in:
Ben
2024-12-23 02:24:53 +10:30
committed by GitHub
parent ff18c11c95
commit 70900b18b8
3 changed files with 24 additions and 0 deletions

View File

@@ -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"))!

View 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
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB