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