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
manager: fixed typo
This commit is contained in:
@@ -444,7 +444,7 @@ fun getAppProfileTemplate(id: String): String {
|
|||||||
fun setAppProfileTemplate(id: String, template: String): Boolean {
|
fun setAppProfileTemplate(id: String, template: String): Boolean {
|
||||||
val shell = getRootShell()
|
val shell = getRootShell()
|
||||||
val escapedTemplate = template.replace("\"", "\\\"")
|
val escapedTemplate = template.replace("\"", "\\\"")
|
||||||
val cmd = """${getKsuDaemonPath()} profile set-template "$id" "$escapedTemplate'"""
|
val cmd = """${getKsuDaemonPath()} profile set-template "$id" "$escapedTemplate"""""
|
||||||
return shell.newJob().add(cmd)
|
return shell.newJob().add(cmd)
|
||||||
.to(ArrayList(), null).exec().isSuccess
|
.to(ArrayList(), null).exec().isSuccess
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user