Skip to content

Commit ff7213b

Browse files
committed
feat: update apps
1 parent b751664 commit ff7213b

14 files changed

Lines changed: 113 additions & 48 deletions

Sources/AppLibrary/AppMetaData.swift

Lines changed: 66 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -8,62 +8,80 @@
88
import SwiftUI
99

1010
public enum AppMetaData {
11-
case starorder
12-
case fasting
13-
case newworld
14-
case wallpaper
11+
case starorder
12+
case fasting
13+
case newworld
14+
case wallpaper
15+
case orbitring
16+
case orbitread
1517
}
1618

1719
public extension AppMetaData {
18-
func icon() -> Image {
19-
switch self {
20-
case .starorder:
21-
return Image("sos_icon", bundle: .module)
22-
case .fasting:
23-
return Image("fasting_icon", bundle: .module)
24-
case .newworld:
25-
return Image("newworld_icon", bundle: .module)
26-
case .wallpaper:
27-
return Image("wallpaper_icon", bundle: .module)
28-
}
20+
func icon() -> Image {
21+
switch self {
22+
case .starorder:
23+
return Image("sos_icon", bundle: .module)
24+
case .fasting:
25+
return Image("fasting_icon", bundle: .module)
26+
case .newworld:
27+
return Image("newworld_icon", bundle: .module)
28+
case .wallpaper:
29+
return Image("wallpaper_icon", bundle: .module)
30+
case .orbitring:
31+
return Image("orbitring_icon", bundle: .main)
32+
case .orbitread:
33+
return Image("orbitread_icon", bundle: .main)
2934
}
35+
}
3036

31-
func title() -> String {
32-
switch self {
33-
case .starorder:
34-
return "Star Order"
35-
case .fasting:
36-
return "Fasting"
37-
case .newworld:
38-
return "新词"
39-
case .wallpaper:
40-
return "简明壁纸"
41-
}
37+
func title() -> String {
38+
switch self {
39+
case .starorder:
40+
return "Star Order"
41+
case .fasting:
42+
return "Fasting"
43+
case .newworld:
44+
return "新词"
45+
case .wallpaper:
46+
return "简明壁纸"
47+
case .orbitring:
48+
return "Orbitring"
49+
case .orbitread:
50+
return "Orbitread"
4251
}
52+
}
4353

44-
func subtitle() -> String {
45-
switch self {
46-
case .starorder:
47-
return "Best GitHub star manager."
48-
case .fasting:
49-
return "Live a healty life."
50-
case .newworld:
51-
return "Your personal vocabulary book."
52-
case .wallpaper:
53-
return "Neat AICG wallpaper for you."
54-
}
54+
func subtitle() -> String {
55+
switch self {
56+
case .starorder:
57+
return "Best GitHub star manager."
58+
case .fasting:
59+
return "Live a healty life."
60+
case .newworld:
61+
return "Your personal vocabulary book."
62+
case .wallpaper:
63+
return "Neat AICG wallpaper for you."
64+
case .orbitring:
65+
return "Powerful macOS ring launcher."
66+
case .orbitread:
67+
return "A smarter “Read-It-Later” assistant, powered by AI."
5568
}
69+
}
5670

57-
func storeURL() -> String {
58-
switch self {
59-
case .starorder:
60-
return "https://apps.apple.com/us/app/star-order-github-star-%E7%AE%A1%E7%90%86%E5%B7%A5%E5%85%B7/id1073829178"
61-
case .fasting:
62-
return "https://apps.apple.com/us/app/fasting-diet-and-healthy/id1672477216"
63-
case .newworld:
64-
return "https://apps.apple.com/us/app/%E6%96%B0%E8%AF%8D/id6457202781"
65-
case .wallpaper:
66-
return "https://apps.apple.com/us/app/%E7%AE%80%E6%98%8E%E5%A3%81%E7%BA%B8/id1204724975"
67-
}
71+
func storeURL() -> String {
72+
switch self {
73+
case .starorder:
74+
return "https://apps.apple.com/us/app/star-order-github-star-%E7%AE%A1%E7%90%86%E5%B7%A5%E5%85%B7/id1073829178"
75+
case .fasting:
76+
return "https://apps.apple.com/us/app/fasting-diet-and-healthy/id1672477216"
77+
case .newworld:
78+
return "https://apps.apple.com/us/app/%E6%96%B0%E8%AF%8D/id6457202781"
79+
case .wallpaper:
80+
return "https://apps.apple.com/us/app/%E7%AE%80%E6%98%8E%E5%A3%81%E7%BA%B8/id1204724975"
81+
case .orbitring:
82+
return "https://apps.apple.com/us/app/orbitring-launcher/id6740730747"
83+
case .orbitread:
84+
return "https://apps.apple.com/us/app/orbitring-launcher/id6740730747"
6885
}
86+
}
6987
}

Sources/AppLibrary/Media.xcassets/fasting_icon.imageset/Contents.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scale" : "1x"
66
},
77
{
8+
"filename" : "appicon 1.png",
89
"idiom" : "universal",
910
"scale" : "2x"
1011
},
772 KB
Loading

Sources/AppLibrary/Media.xcassets/newworld_icon.imageset/Contents.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scale" : "1x"
66
},
77
{
8+
"filename" : "Group 2.png",
89
"idiom" : "universal",
910
"scale" : "2x"
1011
},
19.4 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "no_alpha.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
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+
}
326 KB
Loading
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"filename" : "chrisakring_A_refined_and_minimalistic_app_icon_featuring_an_ab_c4b40740-4def-41b7-84ed-ec6f305fec21.png",
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"filename" : "chrisakring_A_refined_and_minimalistic_app_icon_featuring_an_ab_c4b40740-4def-41b7-84ed-ec6f305fec21 1.png",
14+
"idiom" : "universal",
15+
"scale" : "3x"
16+
}
17+
],
18+
"info" : {
19+
"author" : "xcode",
20+
"version" : 1
21+
}
22+
}
Loading
Loading

0 commit comments

Comments
 (0)