build: 缩小 app_icon 为 512x512 并转为 WebP,节省 446KB

原 2048x2048 PNG (457KB) → 512x512 WebP (11KB)。
同步更新 Platform.kt 中的资源引用。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
xfy 2026-05-22 18:26:14 +08:00
parent 9bd1f57daf
commit 8e65ae6f94
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 457 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -17,7 +17,7 @@ import kotlinx.coroutines.flow.Flow
*/
fun getWebpUri(webpFile: String): String = "file:///android_asset/gifs/$webpFile"
fun getAppIconUri(): String = "file:///android_asset/app_icon.png?v=2"
fun getAppIconUri(): String = "file:///android_asset/app_icon.webp?v=2"
@Composable
fun getAppVersion(): String {