Skip to content

Commit

Permalink
feat: added M1 / M2 Mac Mini Icon (#2274)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-wheeler authored Dec 22, 2024
1 parent ff18c11 commit 70900b1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Kit/plugins/SystemKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"))!
Expand Down
Original file line number Diff line number Diff line change
@@ -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
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 70900b1

Please sign in to comment.