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: create new root shell for module installation to avoid block other su operations
This commit is contained in:
@@ -112,7 +112,7 @@ fun installModule(
|
|||||||
}
|
}
|
||||||
val cmd = "module install ${file.absolutePath}"
|
val cmd = "module install ${file.absolutePath}"
|
||||||
|
|
||||||
val shell = getRootShell()
|
val shell = createRootShell()
|
||||||
|
|
||||||
val stdoutCallback: CallbackList<String?> = object : CallbackList<String?>() {
|
val stdoutCallback: CallbackList<String?> = object : CallbackList<String?>() {
|
||||||
override fun onAddElement(s: String?) {
|
override fun onAddElement(s: String?) {
|
||||||
|
|||||||
Reference in New Issue
Block a user