mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 19:27:41 +00:00
parent
4c2570628d
commit
15866cfba9
@ -51,9 +51,7 @@ class MagiskRepository(
|
||||
}
|
||||
|
||||
suspend fun fetchHideTargets() =
|
||||
Shell.su("\"magiskhide --ls\"").await().out.map {
|
||||
HideTarget(it)
|
||||
}
|
||||
Shell.su("magiskhide --ls").await().out.map { HideTarget(it) }
|
||||
|
||||
fun toggleHide(isEnabled: Boolean, packageName: String, process: String) =
|
||||
Shell.su("magiskhide --${isEnabled.state} $packageName $process").submit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user