修改更新获取网址

This commit is contained in:
HapeLee
2025-08-29 03:21:38 +08:00
parent ed21dca146
commit 8df6cc99a2
2 changed files with 3 additions and 3 deletions
@@ -26,9 +26,9 @@ object AppUpdateGitHub : AppUpdate.AppUpdateInterface {
private suspend fun getLatestRelease(): List<AppReleaseInfo> {
val lastReleaseUrl = if (checkVariant.isBeta()) {
"https://api.github.com/repos/HapeLee/legado/releases/tags/beta"
"https://api.github.com/repos/HapeLee/legado-with-MD3/releases/tags/beta"
} else {
"https://api.github.com/repos/HapeLee/legado/releases/latest"
"https://api.github.com/repos/HapeLee/legado-with-MD3/releases/latest"
}
val res = okHttpClient.newCallResponse {
url(lastReleaseUrl)
+1 -1
View File
@@ -5,7 +5,7 @@
<string name="email" translatable="false">gekunfei@live.com</string>
<string name="contributors_url" translatable="false">https://github.com/gedoor/legado/graphs/contributors</string>
<string name="github_url" translatable="false">https://github.com/HapeLee/legado</string>
<string name="github_url" translatable="false">https://github.com/HapeLee/legado-with-MD3</string>
<string name="legado_url" translatable="false">https://gedoor.github.io/</string>
<string name="http_ip" translatable="false">http://%1$s:%2$d</string>
<string name="git_hub" translatable="false">GitHub</string>