Skip to content

Commit

Permalink
设置icon & release
Browse files Browse the repository at this point in the history
  • Loading branch information
jing332 committed Sep 21, 2022
1 parent ecc06bc commit 3c29210
Show file tree
Hide file tree
Showing 11 changed files with 136 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

2. Azure网页选项汉化、导入到阅读的名称显示风格和角色
本次更新改动较大, 可能有新的bug,欢迎反馈
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<application
android:allowBackup="true"
android:icon="@mipmap/my_ic_launcher"
android:icon="@drawable/ic_app"
android:label="@string/app_name"
android:roundIcon="@mipmap/my_ic_launcher_round"
android:supportsRtl="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class TtsIntentService(name: String = "TtsIntentService") : IntentService(name)
builder
.setContentTitle("TTS Server正在运行中...")
.setContentText("监听地址: localhost:$port")
.setSmallIcon(R.mipmap.notification_ic)
.setSmallIcon(R.drawable.ic_notifi)
.setContentIntent(pendingIntent)
.addAction(R.mipmap.notification_ic, "退出", closePendingIntent)
.build()
Expand Down
65 changes: 65 additions & 0 deletions app/src/main/res/drawable/ic_app.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1024dp"
android:height="1024dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:pathData="M0,0h1024v1024h-1024z"
android:fillColor="#FFFFFF"
android:fillAlpha="0"/>
<path
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"
android:fillColor="#FFFCDB"/>
<path
android:fillColor="#FF000000"
android:pathData="M458,269l47,0l0,147l22,0l0,-147l48,0l0,-19l-117,0l-117,0l0,19l47,0l0,147l22,0l0,-147l47,0z"
android:strokeWidth="17"
android:strokeColor="#040000"/>
<path
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"
android:strokeWidth="17"
android:fillColor="#00DDB3"
android:strokeColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
android:pathData="M226,725c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
android:strokeWidth="16"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:pathData="M226,690c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
android:strokeWidth="16"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
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"
android:strokeWidth="25"
android:fillColor="#00000000"
android:strokeColor="#00DDB3"/>
</vector>
58 changes: 58 additions & 0 deletions app/src/main/res/drawable/ic_notifi.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1024dp"
android:height="1024dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:fillColor="#FF000000"
android:pathData="M458,269l47,0l0,147l22,0l0,-147l48,0l0,-19l-117,0l-117,0l0,19l47,0l0,147l22,0l0,-147l47,0z"
android:strokeWidth="17"
android:strokeColor="#040000"/>
<path
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"
android:strokeWidth="17"
android:fillColor="#00DDB3"
android:strokeColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
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"
android:fillColor="#00DDB3"/>
<path
android:pathData="M226,725c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
android:strokeWidth="16"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:pathData="M226,690c49,14 80,12 126,-8c109,-48 149,10 160,27c16,-16 46,-73 150,-32c52,20 90,29 136,15"
android:strokeWidth="16"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
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"
android:strokeWidth="25"
android:fillColor="#00000000"
android:strokeColor="#00DDB3"/>
</vector>
Binary file removed app/src/main/res/mipmap-hdpi/my_ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/my_ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xhdpi/my_ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxhdpi/my_ic_launcher.png
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xxxhdpi/my_ic_launcher.png
Binary file not shown.

0 comments on commit 3c29210

Please sign in to comment.