Change update repo

This commit is contained in:
Cuong M. Tran 2024-01-25 13:04:08 +07:00
parent 9be00dba55
commit d38b148915
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
4 changed files with 5 additions and 5 deletions

View file

@ -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 <--
)
}

View file

@ -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 <--
}

View file

@ -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(), "")

View file

@ -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 <--
}