You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
Next-Magic Build
This commit is contained in:
2
.github/workflows/build-manager.yml
vendored
2
.github/workflows/build-manager.yml
vendored
@@ -2,7 +2,7 @@ name: Build Manager
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main", "next" ]
|
||||
branches: [ "main", "next", "magic" ]
|
||||
paths:
|
||||
- '.github/workflows/build-manager.yml'
|
||||
- 'manager/**'
|
||||
|
||||
@@ -68,7 +68,7 @@ android {
|
||||
applicationVariants.all {
|
||||
outputs.forEach {
|
||||
val output = it as BaseVariantOutputImpl
|
||||
output.outputFileName = "KernelSU_${managerVersionName}_${managerVersionCode}-next-$name.apk"
|
||||
output.outputFileName = "KernelSU_${managerVersionName}_${managerVersionCode}-next-magic-$name.apk"
|
||||
}
|
||||
kotlin.sourceSets {
|
||||
getByName(name) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
<string name="safe_mode">Safe mode</string>
|
||||
<string name="reboot_to_apply">Reboot to take effect</string>
|
||||
<string name="module_magisk_conflict">Modules are unavailable due to a conflict with Magisk!</string>
|
||||
<string name="home_next_kernelsu">🔥 Next Build</string>
|
||||
<string name="home_next_kernelsu_announce">https://github.com/rifsxd/KernelSU</string>
|
||||
<string name="home_next_kernelsu_body">Next modifications branch. Check it out on GitHub!</string>
|
||||
<string name="home_next_kernelsu">🔥 Next 🪄 Magic Build</string>
|
||||
<string name="home_next_kernelsu_announce">https://github.com/rifsxd/KernelSU/tree/magic</string>
|
||||
<string name="home_next_kernelsu_body">Next magic-mount modifications branch. Check it out on GitHub!</string>
|
||||
<string name="home_learn_kernelsu">Learn KernelSU</string>
|
||||
<string name="home_learn_kernelsu_url">https://kernelsu.org/guide/what-is-kernelsu.html</string>
|
||||
<string name="home_click_to_learn_kernelsu">Learn how to install KernelSU and use modules</string>
|
||||
|
||||
Reference in New Issue
Block a user