修改更新获取网址

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)