Next-Magic Build

This commit is contained in:
Rifat Azad
2024-12-10 16:44:23 +06:00
committed by rifsxd
parent c77560a8d6
commit 30ffa45283
5 changed files with 8 additions and 8 deletions
@@ -421,7 +421,7 @@ private fun InfoCard() {
val managerVersion = getManagerVersion(context)
InfoCardItem(
stringResource(R.string.home_manager_version),
"${managerVersion.first}-next (${managerVersion.second})"
"${managerVersion.first}-magic (${managerVersion.second})"
)
Spacer(Modifier.height(16.dp))
@@ -62,8 +62,8 @@ fun download(
}
fun checkNewVersion(): LatestVersionInfo {
// Next updates
val url = "https://api.github.com/repos/rifsxd/KernelSU/releases/latest"
// Disable updates
val url = "https://127.0.0.1/repos/rifsxd/KernelSU/releases/latest"
// default null value if failed
val defaultValue = LatestVersionInfo()
runCatching {