fix: prefer Gitea download URL when versions equal (China-reachable)

Same-version update was picking GitHub URL (crowded first) which
downloads fail in China. Now Gitea info is inserted before GitHub
so maxByOrNull takes the Gitea one on version tie.

version 1.9.0 -> 1.9.1 (code 29 -> 30)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-10 14:35:59 +08:00
parent 0ea5e1b228
commit b14ee02ef8
2 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ android {
applicationId = "com.a2i.forwarder"
minSdk = 34
targetSdk = 36
versionCode = 28
versionName = "1.8.11"
versionCode = 29
versionName = "1.9.0"
}
signingConfigs {