Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Fix check for Magisk
Browse files Browse the repository at this point in the history
- No multiple root implementation installed
  • Loading branch information
SanmerDev committed Feb 10, 2024
1 parent 3292f38 commit 01202de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class ServiceManagerImpl : IServiceManager.Stub() {

private val platform by lazy {
when {
"nsenter --mount=/proc/1/ns/mnt which magisk".execResult() -> Platform.MAGISK
"which magisk".execResult() -> Platform.MAGISK
"which ksud".execResult() -> Platform.KERNELSU
else -> throw IllegalArgumentException("unsupported platform: $seLinuxContext")
}
Expand Down

0 comments on commit 01202de

Please sign in to comment.