diff --git a/manager/app/build.gradle.kts b/manager/app/build.gradle.kts
index 1f98e4a1ba62..83c509a2ebef 100644
--- a/manager/app/build.gradle.kts
+++ b/manager/app/build.gradle.kts
@@ -68,7 +68,7 @@ android {
applicationVariants.all {
outputs.forEach {
val output = it as BaseVariantOutputImpl
- output.outputFileName = "KernelSU_${managerVersionName}_${managerVersionCode}-$name.apk"
+ output.outputFileName = "KernelSU_${managerVersionName}_${managerVersionCode}-legacy-$name.apk"
}
kotlin.sourceSets {
getByName(name) {
diff --git a/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt b/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt
index 0fa3b34a8d4e..de8c9d93a34b 100644
--- a/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt
+++ b/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt
@@ -408,10 +408,17 @@ private fun InfoCard() {
val uname = Os.uname()
@Composable
- fun InfoCardItem(label: String, content: String) {
- contents.appendLine(label).appendLine(content).appendLine()
+ fun InfoCardItem(label: String, content: String, extraInfo: String? = null) {
+ contents.appendLine(label).appendLine(content)
+ extraInfo?.let {
+ contents.appendLine(it)
+ }
+ contents.appendLine()
Text(text = label, style = MaterialTheme.typography.bodyLarge)
Text(text = content, style = MaterialTheme.typography.bodyMedium)
+ extraInfo?.let {
+ Text(text = it, style = MaterialTheme.typography.bodySmall)
+ }
}
InfoCardItem(stringResource(R.string.home_kernel), uname.release)
@@ -420,7 +427,8 @@ private fun InfoCard() {
val managerVersion = getManagerVersion(context)
InfoCardItem(
stringResource(R.string.home_manager_version),
- "${managerVersion.first} (${managerVersion.second})"
+ "${managerVersion.first} (${managerVersion.second})",
+ stringResource(R.string.home_manager_version_unofficial)
)
Spacer(Modifier.height(16.dp))
diff --git a/manager/app/src/main/java/me/weishu/kernelsu/ui/util/Downloader.kt b/manager/app/src/main/java/me/weishu/kernelsu/ui/util/Downloader.kt
index bdf8496633fd..709b9e8ab027 100644
--- a/manager/app/src/main/java/me/weishu/kernelsu/ui/util/Downloader.kt
+++ b/manager/app/src/main/java/me/weishu/kernelsu/ui/util/Downloader.kt
@@ -62,7 +62,7 @@ fun download(
}
fun checkNewVersion(): LatestVersionInfo {
- val url = "https://api.github.com/repos/tiann/KernelSU/releases/latest"
+ val url = "https://api.github.com/repos/changhuapeng/KernelSU/releases/latest"
// default null value if failed
val defaultValue = LatestVersionInfo()
runCatching {
diff --git a/manager/app/src/main/res/values/strings.xml b/manager/app/src/main/res/values/strings.xml
index 85ce47da2d8a..ca5ad819e63e 100644
--- a/manager/app/src/main/res/values/strings.xml
+++ b/manager/app/src/main/res/values/strings.xml
@@ -12,6 +12,7 @@
KernelSU only supports GKI kernels now
Kernel
Manager version
+ ⌛ Unofficial build for non-GKI kernel
Fingerprint
SELinux status
Disabled