更新下载接口为 SukiSU-Ultra 的最新版本

This commit is contained in:
ShirkNeko
2025-03-30 02:02:56 +08:00
parent b90a88cb66
commit e27471fa9e

View File

@@ -64,7 +64,7 @@ fun download(
fun checkNewVersion(): LatestVersionInfo { fun checkNewVersion(): LatestVersionInfo {
// 改为新的 release 接口 // 改为新的 release 接口
val url = "https://api.github.com/repos/ShirkNeko/KernelSU/releases/latest" val url = "https://api.github.com/repos/ShirkNeko/SukiSU-Ultra/releases/latest"
val defaultValue = LatestVersionInfo() val defaultValue = LatestVersionInfo()
return runCatching { return runCatching {
okhttp3.OkHttpClient().newCall(okhttp3.Request.Builder().url(url).build()).execute() okhttp3.OkHttpClient().newCall(okhttp3.Request.Builder().url(url).build()).execute()