Update app repo URL

This commit is contained in:
arkon
2020-12-15 15:56:16 -05:00
parent 28a23452f2
commit 04fff91e23
6 changed files with 22 additions and 22 deletions

View File

@@ -9,9 +9,9 @@ class GithubUpdateChecker {
private val repo: String by lazy {
if (BuildConfig.DEBUG) {
"tachiyomiorg/android-app-preview"
"tachiyomiorg/tachiyomi-preview"
} else {
"inorichi/tachiyomi"
"tachiyomiorg/tachiyomi"
}
}
@@ -31,11 +31,11 @@ class GithubUpdateChecker {
val newVersion = versionTag.replace("[^\\d.]".toRegex(), "")
return if (BuildConfig.DEBUG) {
// Preview builds: based on releases in "tachiyomiorg/android-app-preview" repo
// Preview builds: based on releases in "tachiyomiorg/tachiyomi-preview" repo
// tagged as something like "r1234"
newVersion.toInt() > BuildConfig.COMMIT_COUNT.toInt()
} else {
// Release builds: based on releases in "inorichi/tachiyomi" repo
// Release builds: based on releases in "tachiyomiorg/tachiyomi" repo
// tagged as something like "v0.1.2"
newVersion != BuildConfig.VERSION_NAME
}