Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit e74f530

Browse files
committed
Added Monterey icon
1 parent 652fe29 commit e74f530

4 files changed

Lines changed: 28 additions & 2 deletions

File tree

FetchInstallerPkg.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
CODE_SIGN_IDENTITY = "Apple Development";
374374
CODE_SIGN_STYLE = Automatic;
375375
COMBINE_HIDPI_IMAGES = YES;
376-
CURRENT_PROJECT_VERSION = 22;
376+
CURRENT_PROJECT_VERSION = 25;
377377
DEVELOPMENT_ASSET_PATHS = "\"FetchInstallerPkg/Preview Content\"";
378378
DEVELOPMENT_TEAM = JME5BW3F3R;
379379
ENABLE_APP_SANDBOX = YES;
@@ -409,7 +409,7 @@
409409
CODE_SIGN_IDENTITY = "Apple Development";
410410
CODE_SIGN_STYLE = Automatic;
411411
COMBINE_HIDPI_IMAGES = YES;
412-
CURRENT_PROJECT_VERSION = 22;
412+
CURRENT_PROJECT_VERSION = 25;
413413
DEVELOPMENT_ASSET_PATHS = "\"FetchInstallerPkg/Preview Content\"";
414414
DEVELOPMENT_TEAM = JME5BW3F3R;
415415
ENABLE_APP_SANDBOX = YES;
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"filename" : "Monterey128.png",
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
22.4 KB
Loading

FetchInstallerPkg/View/IconView.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ struct IconView: View {
1717
.resizable(resizingMode: .stretch)
1818
.aspectRatio(contentMode: .fit)
1919
.foregroundColor(Color.blue)
20+
} else if product.darwinVersion == "21" {
21+
Image("Monterey")
22+
.resizable(resizingMode: .stretch)
23+
.aspectRatio(contentMode: .fit)
24+
.foregroundColor(Color.blue)
2025
} else {
2126
Image("macOS")
2227
.resizable(resizingMode: .stretch)

0 commit comments

Comments
 (0)