更新
This commit is contained in:
1 parent
55ac1f6070
commit
8325a17864
13 files changed
+384
-157
No files matched your search
@@ -26,9 +26,9 @@ object AppUpdateGitHub : AppUpdate.AppUpdateInterface {
|
||||
|
||||
private suspend fun getLatestRelease(): List<AppReleaseInfo> {
|
||||
val lastReleaseUrl = if (checkVariant.isBeta()) {
|
||||
"https://api.github.com/repos/gedoor/legado/releases/tags/beta"
|
||||
"https://api.github.com/repos/HapeLee/legado/releases/tags/beta"
|
||||
} else {
|
||||
"https://api.github.com/repos/gedoor/legado/releases/latest"
|
||||
"https://api.github.com/repos/HapeLee/legado/releases/latest"
|
||||
}
|
||||
val res = okHttpClient.newCallResponse {
|
||||
url(lastReleaseUrl)
|
||||
|
||||
Reference in new issue
Block a user