feat: 更新检测机制优化

- 修改更新检测逻辑,直接使用GitHub Releases API检测最新版本
- 点击更新按钮跳转到GitHub Releases页面而不是直接下载APK
- 优化版本号比较算法,支持更准确的版本检测
- 修改关于页面按钮文字颜色为白色
- 移除对本地JSON文件的依赖,提高更新检测的可靠性

相关文件:
- app/src/mobile/java/com/fongmi/android/tv/Updater.java
- app/src/leanback/java/com/fongmi/android/tv/Updater.java
- app/src/mobile/res/layout/dialog_about.xml
This commit is contained in:
您的名字
2025-10-14 19:10:23 +08:00
parent 7a9dc27835
commit dcc751c691
3 changed files with 120 additions and 37 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
android:layout_marginTop="24dp"
android:background="@drawable/shape_about_button"
android:text="我的GitHub"
android:textColor="#212121"
android:textColor="@color/white"
android:textSize="14sp"
android:padding="12dp"/>