Change update repo
This commit is contained in:
parent
9be00dba55
commit
d38b148915
4 changed files with 5 additions and 5 deletions
|
|
@ -210,7 +210,7 @@ object AboutScreen : Screen() {
|
|||
label = "GitHub",
|
||||
icon = CustomIcons.Github,
|
||||
// SY -->
|
||||
url = "https://github.com/jobobby04/tachiyomisy",
|
||||
url = "https://github.com/cuong-tran/komikku",
|
||||
// SY <--
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,9 +52,9 @@ class AppUpdateChecker {
|
|||
val GITHUB_REPO: String by lazy {
|
||||
// SY -->
|
||||
if (isPreviewBuildType) {
|
||||
"jobobby04/TachiyomiSYPreview"
|
||||
"cuong-tran/komikku"
|
||||
} else {
|
||||
"jobobby04/tachiyomiSY"
|
||||
"cuong-tran/komikku"
|
||||
}
|
||||
// SY <--
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ class GetApplicationRelease(
|
|||
val currentInt = syDebugVersion.toIntOrNull()
|
||||
currentInt != null && newVersion.toInt() > currentInt
|
||||
} else {
|
||||
// Release builds: based on releases in "jobobby04/TachiyomiSY" repo
|
||||
// Release builds: based on releases in "cuong-tran/komikku" repo
|
||||
// tagged as something like "0.1.2"
|
||||
val oldVersion = versionName.replace("[^\\d.]".toRegex(), "")
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ data class Release(
|
|||
}
|
||||
|
||||
// SY -->
|
||||
return assets.find { it.contains("TachiyomiSY$apkVariant-") } ?: assets[0]
|
||||
return assets.find { it.contains("Komikku$apkVariant-") } ?: assets[0]
|
||||
// SY <--
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue