Skip to content

Commit 3c29210

Browse files
committed
设置icon & release
1 parent ecc06bc commit 3c29210

File tree

11 files changed

+136
-4
lines changed

11 files changed

+136
-4
lines changed

.idea/misc.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
1. 网页版支持一键复制网络导入链接。
1+
1. 修复: Azure风格导入阅读APP后不生效。
2+
2. 修复: Azure所有音频格式不生效。
3+
3. 新增超时/意外断开连接处理。
4+
4. 移除鸡肋的自动重试功能(阅读APP有自动重试)。
5+
5. 网页测试按钮上方新增音频大小和耗时显示。
6+
6. 右上角菜单新增忽略电池优化, 仅对部分系统生效。
7+
7. 更换APP图标(再次由酷安@沉默_9527提供)。
8+
8. APP日志列表自动滚动到最新日志。
29

3-
2. Azure网页选项汉化、导入到阅读的名称显示风格和角色
10+
本次更新改动较大, 可能有新的bug,欢迎反馈

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<application
1111
android:allowBackup="true"
12-
android:icon="@mipmap/my_ic_launcher"
12+
android:icon="@drawable/ic_app"
1313
android:label="@string/app_name"
1414
android:roundIcon="@mipmap/my_ic_launcher_round"
1515
android:supportsRtl="true"

app/src/main/java/com/github/jing332/tts_server_android/TtsIntentService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class TtsIntentService(name: String = "TtsIntentService") : IntentService(name)
6767
builder
6868
.setContentTitle("TTS Server正在运行中...")
6969
.setContentText("监听地址: localhost:$port")
70-
.setSmallIcon(R.mipmap.notification_ic)
70+
.setSmallIcon(R.drawable.ic_notifi)
7171
.setContentIntent(pendingIntent)
7272
.addAction(R.mipmap.notification_ic, "退出", closePendingIntent)
7373
.build()

app/src/main/res/drawable/ic_app.xml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="1024dp"
3+
android:height="1024dp"
4+
android:viewportWidth="1024"
5+
android:viewportHeight="1024">
6+
<path
7+
android:pathData="M0,0h1024v1024h-1024z"
8+
android:fillColor="#FFFFFF"
9+
android:fillAlpha="0"/>
10+
<path
11+
android:pathData="M260,129h504c72.34,0 131,60.01 131,134v498c0,73.99 -58.66,134 -131,134H260c-72.34,0 -131,-60.01 -131,-134L129,263C129,189.01 187.66,129 260,129"
12+
android:fillColor="#FFFCDB"/>
13+
<path
14+
android:fillColor="#FF000000"
15+
android:pathData="M458,269l47,0l0,147l22,0l0,-147l48,0l0,-19l-117,0l-117,0l0,19l47,0l0,147l22,0l0,-147l47,0z"
16+
android:strokeWidth="17"
17+
android:strokeColor="#040000"/>
18+
<path
19+
android:pathData="M369,385c25,27 69,50 105,55c25,4 56,6 80,2c67,-11 123,-51 103,-80c-3,-4 -6,-7 -10,-10c-4,-3 -13,-7 -25,-13c-17,-8 -28,-16 -33,-23s-8,-15 -8,-24c0,-14 6,-25 17,-33c11,-8 25,-12 42,-12s29,2 36,6v23c-10,-7 -23,-10 -38,-10c-10,0 -18,2 -25,6c-6,4 -10,10 -10,18c0,7 2,12 7,16c4,4 14,10 29,17c16,8 28,16 34,23c7,8 10,16 10,26c0,24 -25,47 -45,58c-50,27 -107,32 -162,23c-39,-6 -89,-33 -106,-45L369,385z"
20+
android:strokeWidth="17"
21+
android:fillColor="#00DDB3"
22+
android:strokeColor="#00DDB3"/>
23+
<path
24+
android:pathData="M293,558v-1c0,-3 5,-6 11,-6h41c6,0 11,3 11,6v1c0,3 -5,6 -11,6h-41C298,564 293,561 293,558"
25+
android:fillColor="#00DDB3"/>
26+
<path
27+
android:pathData="M350,541h2c6,0 11,3 11,6v23c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6v-23C339,544 344,541 350,541"
28+
android:fillColor="#00DDB3"/>
29+
<path
30+
android:pathData="M510,534h2c6,0 11,3 11,6v35c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6v-35C499,537 504,534 510,534"
31+
android:fillColor="#00DDB3"/>
32+
<path
33+
android:pathData="M457,494h2c6,0 11,3 11,6v116c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6V500C446,497 451,494 457,494"
34+
android:fillColor="#00DDB3"/>
35+
<path
36+
android:pathData="M403,520h2c6,0 11,3 11,6v62c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6v-62C392,523 397,520 403,520"
37+
android:fillColor="#00DDB3"/>
38+
<path
39+
android:pathData="M730,558v-1c0,-3 -5,-6 -11,-6h-41c-6,0 -11,3 -11,6v1c0,3 5,6 11,6h41C725,564 730,561 730,558"
40+
android:fillColor="#00DDB3"/>
41+
<path
42+
android:pathData="M673,541h-2c-6,0 -11,3 -11,6v23c0,3 5,6 11,6h2c6,0 11,-3 11,-6v-23C684,544 679,541 673,541"
43+
android:fillColor="#00DDB3"/>
44+
<path
45+
android:pathData="M566,494h-2c-6,0 -11,3 -11,6v116c0,3 5,6 11,6h2c6,0 11,-3 11,-6V500C577,497 572,494 566,494"
46+
android:fillColor="#00DDB3"/>
47+
<path
48+
android:pathData="M620,520h-2c-6,0 -11,3 -11,6v62c0,3 5,6 11,6h2c6,0 11,-3 11,-6v-62C631,523 626,520 620,520"
49+
android:fillColor="#00DDB3"/>
50+
<path
51+
android:pathData="M226,725c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
52+
android:strokeWidth="16"
53+
android:fillColor="#00000000"
54+
android:strokeColor="#000000"/>
55+
<path
56+
android:pathData="M226,690c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
57+
android:strokeWidth="16"
58+
android:fillColor="#00000000"
59+
android:strokeColor="#000000"/>
60+
<path
61+
android:pathData="M214,773l81,2c59,-1 89,-27 125,-27c19,0 38,6 50,23c23,-28 64,-28 86,-1c16,-16 32,-24 48,-23c39,3 77,25 114,25h91"
62+
android:strokeWidth="25"
63+
android:fillColor="#00000000"
64+
android:strokeColor="#00DDB3"/>
65+
</vector>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="1024dp"
3+
android:height="1024dp"
4+
android:viewportWidth="1024"
5+
android:viewportHeight="1024">
6+
<path
7+
android:fillColor="#FF000000"
8+
android:pathData="M458,269l47,0l0,147l22,0l0,-147l48,0l0,-19l-117,0l-117,0l0,19l47,0l0,147l22,0l0,-147l47,0z"
9+
android:strokeWidth="17"
10+
android:strokeColor="#040000"/>
11+
<path
12+
android:pathData="M369,385c25,27 69,50 105,55c25,4 56,6 80,2c67,-11 123,-51 103,-80c-3,-4 -6,-7 -10,-10c-4,-3 -13,-7 -25,-13c-17,-8 -28,-16 -33,-23s-8,-15 -8,-24c0,-14 6,-25 17,-33c11,-8 25,-12 42,-12s29,2 36,6v23c-10,-7 -23,-10 -38,-10c-10,0 -18,2 -25,6c-6,4 -10,10 -10,18c0,7 2,12 7,16c4,4 14,10 29,17c16,8 28,16 34,23c7,8 10,16 10,26c0,24 -25,47 -45,58c-50,27 -107,32 -162,23c-39,-6 -89,-33 -106,-45L369,385z"
13+
android:strokeWidth="17"
14+
android:fillColor="#00DDB3"
15+
android:strokeColor="#00DDB3"/>
16+
<path
17+
android:pathData="M293,558v-1c0,-3 5,-6 11,-6h41c6,0 11,3 11,6v1c0,3 -5,6 -11,6h-41C298,564 293,561 293,558"
18+
android:fillColor="#00DDB3"/>
19+
<path
20+
android:pathData="M350,541h2c6,0 11,3 11,6v23c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6v-23C339,544 344,541 350,541"
21+
android:fillColor="#00DDB3"/>
22+
<path
23+
android:pathData="M510,534h2c6,0 11,3 11,6v35c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6v-35C499,537 504,534 510,534"
24+
android:fillColor="#00DDB3"/>
25+
<path
26+
android:pathData="M457,494h2c6,0 11,3 11,6v116c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6V500C446,497 451,494 457,494"
27+
android:fillColor="#00DDB3"/>
28+
<path
29+
android:pathData="M403,520h2c6,0 11,3 11,6v62c0,3 -5,6 -11,6h-2c-6,0 -11,-3 -11,-6v-62C392,523 397,520 403,520"
30+
android:fillColor="#00DDB3"/>
31+
<path
32+
android:pathData="M730,558v-1c0,-3 -5,-6 -11,-6h-41c-6,0 -11,3 -11,6v1c0,3 5,6 11,6h41C725,564 730,561 730,558"
33+
android:fillColor="#00DDB3"/>
34+
<path
35+
android:pathData="M673,541h-2c-6,0 -11,3 -11,6v23c0,3 5,6 11,6h2c6,0 11,-3 11,-6v-23C684,544 679,541 673,541"
36+
android:fillColor="#00DDB3"/>
37+
<path
38+
android:pathData="M566,494h-2c-6,0 -11,3 -11,6v116c0,3 5,6 11,6h2c6,0 11,-3 11,-6V500C577,497 572,494 566,494"
39+
android:fillColor="#00DDB3"/>
40+
<path
41+
android:pathData="M620,520h-2c-6,0 -11,3 -11,6v62c0,3 5,6 11,6h2c6,0 11,-3 11,-6v-62C631,523 626,520 620,520"
42+
android:fillColor="#00DDB3"/>
43+
<path
44+
android:pathData="M226,725c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
45+
android:strokeWidth="16"
46+
android:fillColor="#00000000"
47+
android:strokeColor="#000000"/>
48+
<path
49+
android:pathData="M226,690c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
50+
android:strokeWidth="16"
51+
android:fillColor="#00000000"
52+
android:strokeColor="#000000"/>
53+
<path
54+
android:pathData="M214,773l81,2c59,-1 89,-27 125,-27c19,0 38,6 50,23c23,-28 64,-28 86,-1c16,-16 32,-24 48,-23c39,3 77,25 114,25h91"
55+
android:strokeWidth="25"
56+
android:fillColor="#00000000"
57+
android:strokeColor="#00DDB3"/>
58+
</vector>
-3.31 KB
Binary file not shown.
-2.14 KB
Binary file not shown.
-4.56 KB
Binary file not shown.
-6.94 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)