manager: enabled auto updates

This commit is contained in:
Rifat Azad
2024-12-13 18:30:04 +06:00
committed by GitHub
parent 9ac8921fbc
commit 981fa5e7e7

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 {