Skip to content

Commit 9c0b599

Browse files
committed
Update README and add frame task for screenshots
1 parent f9255b6 commit 9c0b599

File tree

11 files changed

+139
-104
lines changed

11 files changed

+139
-104
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@
44
*.ipa
55
xcuserdata/
66

7+
/fastlane/screenshots/**/*.png
8+
/fastlane/screenshots/fonts/*
79
/fastlane/report.xml
10+
11+
!/fastlane/screenshots/fonts/.keep
812
BlackCandy.xcconfig

Gemfile.lock

+67-66
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,45 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.5)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
6-
addressable (2.8.1)
8+
addressable (2.8.6)
79
public_suffix (>= 2.0.2, < 6.0)
8-
artifactory (3.0.15)
10+
artifactory (3.0.17)
911
atomos (0.1.3)
10-
aws-eventstream (1.2.0)
11-
aws-partitions (1.692.0)
12-
aws-sdk-core (3.168.4)
13-
aws-eventstream (~> 1, >= 1.0.2)
12+
aws-eventstream (1.3.0)
13+
aws-partitions (1.930.0)
14+
aws-sdk-core (3.196.1)
15+
aws-eventstream (~> 1, >= 1.3.0)
1416
aws-partitions (~> 1, >= 1.651.0)
15-
aws-sigv4 (~> 1.5)
17+
aws-sigv4 (~> 1.8)
1618
jmespath (~> 1, >= 1.6.1)
17-
aws-sdk-kms (1.61.0)
18-
aws-sdk-core (~> 3, >= 3.165.0)
19+
aws-sdk-kms (1.81.0)
20+
aws-sdk-core (~> 3, >= 3.193.0)
1921
aws-sigv4 (~> 1.1)
20-
aws-sdk-s3 (1.117.2)
21-
aws-sdk-core (~> 3, >= 3.165.0)
22+
aws-sdk-s3 (1.151.0)
23+
aws-sdk-core (~> 3, >= 3.194.0)
2224
aws-sdk-kms (~> 1)
23-
aws-sigv4 (~> 1.4)
24-
aws-sigv4 (1.5.2)
25+
aws-sigv4 (~> 1.8)
26+
aws-sigv4 (1.8.0)
2527
aws-eventstream (~> 1, >= 1.0.2)
2628
babosa (1.0.4)
29+
base64 (0.2.0)
2730
claide (1.1.0)
2831
colored (1.2)
2932
colored2 (3.1.2)
3033
commander (4.6.0)
3134
highline (~> 2.0.0)
3235
declarative (0.0.20)
33-
digest-crc (0.6.4)
36+
digest-crc (0.6.5)
3437
rake (>= 12.0.0, < 14.0.0)
35-
domain_name (0.5.20190701)
36-
unf (>= 0.0.5, < 1.0.0)
38+
domain_name (0.6.20240107)
3739
dotenv (2.8.1)
3840
emoji_regex (3.2.3)
39-
excon (0.97.1)
40-
faraday (1.10.2)
41+
excon (0.110.0)
42+
faraday (1.10.3)
4143
faraday-em_http (~> 1.0)
4244
faraday-em_synchrony (~> 1.0)
4345
faraday-excon (~> 1.1)
@@ -65,15 +67,15 @@ GEM
6567
faraday-retry (1.0.3)
6668
faraday_middleware (1.2.0)
6769
faraday (~> 1.0)
68-
fastimage (2.2.6)
69-
fastlane (2.211.0)
70+
fastimage (2.3.1)
71+
fastlane (2.220.0)
7072
CFPropertyList (>= 2.3, < 4.0.0)
7173
addressable (>= 2.8, < 3.0.0)
7274
artifactory (~> 3.0)
7375
aws-sdk-s3 (~> 1.0)
7476
babosa (>= 1.0.3, < 2.0.0)
7577
bundler (>= 1.12.0, < 3.0.0)
76-
colored
78+
colored (~> 1.2)
7779
commander (~> 4.6)
7880
dotenv (>= 2.1.1, < 3.0.0)
7981
emoji_regex (>= 0.1, < 4.0)
@@ -85,62 +87,62 @@ GEM
8587
gh_inspector (>= 1.1.2, < 2.0.0)
8688
google-apis-androidpublisher_v3 (~> 0.3)
8789
google-apis-playcustomapp_v1 (~> 0.1)
90+
google-cloud-env (>= 1.6.0, < 2.0.0)
8891
google-cloud-storage (~> 1.31)
8992
highline (~> 2.0)
93+
http-cookie (~> 1.0.5)
9094
json (< 3.0.0)
9195
jwt (>= 2.1.0, < 3)
9296
mini_magick (>= 4.9.4, < 5.0.0)
93-
multipart-post (~> 2.0.0)
97+
multipart-post (>= 2.0.0, < 3.0.0)
9498
naturally (~> 2.2)
95-
optparse (~> 0.1.1)
99+
optparse (>= 0.1.1, < 1.0.0)
96100
plist (>= 3.1.0, < 4.0.0)
97101
rubyzip (>= 2.0.0, < 3.0.0)
98-
security (= 0.1.3)
102+
security (= 0.1.5)
99103
simctl (~> 1.6.3)
100104
terminal-notifier (>= 2.0.0, < 3.0.0)
101-
terminal-table (>= 1.4.5, < 2.0.0)
105+
terminal-table (~> 3)
102106
tty-screen (>= 0.6.3, < 1.0.0)
103107
tty-spinner (>= 0.8.0, < 1.0.0)
104108
word_wrap (~> 1.0.0)
105109
xcodeproj (>= 1.13.0, < 2.0.0)
106110
xcpretty (~> 0.3.0)
107-
xcpretty-travis-formatter (>= 0.0.3)
111+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
108112
gh_inspector (1.1.3)
109-
google-apis-androidpublisher_v3 (0.32.0)
110-
google-apis-core (>= 0.9.1, < 2.a)
111-
google-apis-core (0.9.5)
113+
google-apis-androidpublisher_v3 (0.54.0)
114+
google-apis-core (>= 0.11.0, < 2.a)
115+
google-apis-core (0.11.3)
112116
addressable (~> 2.5, >= 2.5.1)
113117
googleauth (>= 0.16.2, < 2.a)
114118
httpclient (>= 2.8.1, < 3.a)
115119
mini_mime (~> 1.0)
116120
representable (~> 3.0)
117121
retriable (>= 2.0, < 4.a)
118122
rexml
119-
webrick
120-
google-apis-iamcredentials_v1 (0.16.0)
121-
google-apis-core (>= 0.9.1, < 2.a)
122-
google-apis-playcustomapp_v1 (0.12.0)
123-
google-apis-core (>= 0.9.1, < 2.a)
124-
google-apis-storage_v1 (0.19.0)
125-
google-apis-core (>= 0.9.0, < 2.a)
126-
google-cloud-core (1.6.0)
127-
google-cloud-env (~> 1.0)
123+
google-apis-iamcredentials_v1 (0.17.0)
124+
google-apis-core (>= 0.11.0, < 2.a)
125+
google-apis-playcustomapp_v1 (0.13.0)
126+
google-apis-core (>= 0.11.0, < 2.a)
127+
google-apis-storage_v1 (0.31.0)
128+
google-apis-core (>= 0.11.0, < 2.a)
129+
google-cloud-core (1.7.0)
130+
google-cloud-env (>= 1.0, < 3.a)
128131
google-cloud-errors (~> 1.0)
129132
google-cloud-env (1.6.0)
130133
faraday (>= 0.17.3, < 3.0)
131-
google-cloud-errors (1.3.0)
132-
google-cloud-storage (1.44.0)
134+
google-cloud-errors (1.4.0)
135+
google-cloud-storage (1.47.0)
133136
addressable (~> 2.8)
134137
digest-crc (~> 0.4)
135138
google-apis-iamcredentials_v1 (~> 0.1)
136-
google-apis-storage_v1 (~> 0.19.0)
139+
google-apis-storage_v1 (~> 0.31.0)
137140
google-cloud-core (~> 1.6)
138141
googleauth (>= 0.16.2, < 2.a)
139142
mini_mime (~> 1.0)
140-
googleauth (1.3.0)
143+
googleauth (1.8.1)
141144
faraday (>= 0.17.3, < 3.a)
142145
jwt (>= 1.4, < 3.0)
143-
memoist (~> 0.16)
144146
multi_json (~> 1.11)
145147
os (>= 0.9, < 2.0)
146148
signet (>= 0.16, < 2.a)
@@ -149,54 +151,53 @@ GEM
149151
domain_name (~> 0.5)
150152
httpclient (2.8.3)
151153
jmespath (1.6.2)
152-
json (2.6.3)
153-
jwt (2.6.0)
154-
memoist (0.16.2)
154+
json (2.7.2)
155+
jwt (2.8.1)
156+
base64
155157
mini_magick (4.12.0)
156-
mini_mime (1.1.2)
158+
mini_mime (1.1.5)
157159
multi_json (1.15.0)
158-
multipart-post (2.0.0)
160+
multipart-post (2.4.1)
159161
nanaimo (0.3.0)
160162
naturally (2.2.1)
161-
optparse (0.1.1)
163+
nkf (0.2.0)
164+
optparse (0.5.0)
162165
os (1.1.4)
163-
plist (3.6.0)
164-
public_suffix (5.0.1)
165-
rake (13.0.6)
166+
plist (3.7.1)
167+
public_suffix (5.0.5)
168+
rake (13.2.1)
166169
representable (3.2.0)
167170
declarative (< 0.1.0)
168171
trailblazer-option (>= 0.1.1, < 0.2.0)
169172
uber (< 0.2.0)
170173
retriable (3.1.2)
171-
rexml (3.2.5)
174+
rexml (3.2.8)
175+
strscan (>= 3.0.9)
172176
rouge (2.0.7)
173177
ruby2_keywords (0.0.5)
174178
rubyzip (2.3.2)
175-
security (0.1.3)
176-
signet (0.17.0)
179+
security (0.1.5)
180+
signet (0.19.0)
177181
addressable (~> 2.8)
178182
faraday (>= 0.17.5, < 3.a)
179183
jwt (>= 1.5, < 3.0)
180184
multi_json (~> 1.10)
181-
simctl (1.6.8)
185+
simctl (1.6.10)
182186
CFPropertyList
183187
naturally
188+
strscan (3.1.0)
184189
terminal-notifier (2.0.0)
185-
terminal-table (1.8.0)
186-
unicode-display_width (~> 1.1, >= 1.1.1)
190+
terminal-table (3.0.2)
191+
unicode-display_width (>= 1.1.1, < 3)
187192
trailblazer-option (0.1.2)
188193
tty-cursor (0.7.1)
189-
tty-screen (0.8.1)
194+
tty-screen (0.8.2)
190195
tty-spinner (0.9.3)
191196
tty-cursor (~> 0.7)
192197
uber (0.1.0)
193-
unf (0.1.4)
194-
unf_ext
195-
unf_ext (0.0.8.2)
196-
unicode-display_width (1.8.0)
197-
webrick (1.7.0)
198+
unicode-display_width (2.5.0)
198199
word_wrap (1.0.0)
199-
xcodeproj (1.22.0)
200+
xcodeproj (1.24.0)
200201
CFPropertyList (>= 2.3.3, < 4.0)
201202
atomos (~> 0.1.3)
202203
claide (>= 1.0.2, < 2.0)

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Aidewoode <[email protected]>
3+
Copyright (c) Ed Chao <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# Black Candy for iOS
22

3+
[![CI](https://github.com/blackcandy-org/ios/actions/workflows/ci.yml/badge.svg)](https://github.com/blackcandy-org/ios/actions/workflows/ci.yml)
4+
5+
![Screenshot](https://raw.githubusercontent.com/blackcandy-org/ios/master/images/screenshot_main.png)
6+
7+
The official Black Candy iOS app. To use this app, you must have a Black Candy server set up. For more information, please visit https://github.com/blackcandy-org/blackcandy
8+
9+
## Get the app
10+
311
The iOS app of Black Candy in beta now. You can visite [here](https://testflight.apple.com/join/TwMUVmDl) to join beta in TestFlight.

fastlane/Fastfile

+10-5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# Uncomment the line if you want fastlane to automatically update itself
1414
# update_fastlane
1515

16+
skip_docs
1617
default_platform(:ios)
1718

1819
platform :ios do
@@ -29,14 +30,18 @@ platform :ios do
2930
force: true
3031
)
3132

33+
build_app(scheme: "BlackCandy")
34+
upload_to_testflight
35+
3236
add_git_tag(tag: "v#{get_version_number}.beta#{get_build_number}")
3337
push_to_git_remote
38+
end
3439

35-
build_app(scheme: "BlackCandy")
40+
desc "Frame screenshot"
41+
lane :frame do
42+
# Clear previous framed screenshots
43+
sh("find #{ENV['PWD']}/fastlane/screenshots -type f -name '*framed*' -delete")
3644

37-
changelog_from_git_commits(
38-
merge_commit_filtering: "exclude_merges"
39-
)
40-
upload_to_testflight
45+
frameit(path: "./fastlane/screenshots")
4146
end
4247
end

fastlane/README.md

-32
This file was deleted.

fastlane/screenshots/Framefile.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"device_frame_version": "latest",
3+
"default": {
4+
"title": {
5+
"font": "./fonts/GillSans.ttc",
6+
"font_size": 45,
7+
"font_weight": 300,
8+
"color": "#2c2c2e"
9+
},
10+
11+
"background": "./background.jpg",
12+
"padding": "7%x7.5%"
13+
},
14+
15+
"data": [
16+
{
17+
"filter": "iPhone SE",
18+
"title": {
19+
"font_size": 45
20+
},
21+
"padding": "7%x9.5%"
22+
},
23+
{
24+
"filter": "iPhone 14 Plus",
25+
"title": {
26+
"font_size": 80
27+
},
28+
"padding": "5%x15%"
29+
},
30+
{
31+
"filter": "iPhone 14 Pro Max",
32+
"title": {
33+
"font_size": 85
34+
},
35+
"padding": "5%x15%"
36+
},
37+
{
38+
"filter": "iPad Pro",
39+
"title": {
40+
"font_size": 75
41+
}
42+
}
43+
]
44+
}

fastlane/screenshots/background.jpg

88.5 KB
Loading
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"Home" = "The Home of Your Music"
2+
"Library" = "Access Your Library Easily"
3+
"Playback" = "Control Your Playback"
4+
"LightMode" = "Come With Light Theme"
5+
"Orientation" = "Fits Any Orientation"

fastlane/screenshots/fonts/.keep

Whitespace-only changes.

images/screenshot_main.png

1.09 MB
Loading

0 commit comments

Comments
 (0)