manager: enabled auto updates

This commit is contained in:
Rifat Azad
2024-12-13 18:30:04 +06:00
committed by GitHub
parent 2b57fe0ad8
commit 6aa4293b9c

View File

@@ -62,8 +62,8 @@ fun download(
}
fun checkNewVersion(): LatestVersionInfo {
// Disable updates
val url = "https://127.0.0.1/repos/rifsxd/KernelSU/releases/latest"
// Next version updates
val url = "https://api.github.com/repos/rifsxd/KernelSU/releases/latest"
// default null value if failed
val defaultValue = LatestVersionInfo()
runCatching {