diff --git a/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt b/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt index 62a7dd92b..b149320ac 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/tasks/MagiskInstaller.kt @@ -124,7 +124,7 @@ abstract class MagiskInstallImpl protected constructor( if (isRunningAsStub) { ZipFile.builder().setFile(StubApk.current(context)).get().use { zf -> zf.entries.asSequence().filter { - !it.isDirectory && it.name.startsWith("/lib/${Const.CPU_ABI}/") + !it.isDirectory && it.name.startsWith("lib/${Const.CPU_ABI}/") }.forEach { val n = it.name.substring(it.name.lastIndexOf('/') + 1) val name = n.substring(3, n.length - 3)