mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-01 21:49:33 +00:00
@@ -124,7 +124,7 @@ abstract class MagiskInstallImpl protected constructor(
|
|||||||
if (isRunningAsStub) {
|
if (isRunningAsStub) {
|
||||||
ZipFile.builder().setFile(StubApk.current(context)).get().use { zf ->
|
ZipFile.builder().setFile(StubApk.current(context)).get().use { zf ->
|
||||||
zf.entries.asSequence().filter {
|
zf.entries.asSequence().filter {
|
||||||
!it.isDirectory && it.name.startsWith("/lib/${Const.CPU_ABI}/")
|
!it.isDirectory && it.name.startsWith("lib/${Const.CPU_ABI}/")
|
||||||
}.forEach {
|
}.forEach {
|
||||||
val n = it.name.substring(it.name.lastIndexOf('/') + 1)
|
val n = it.name.substring(it.name.lastIndexOf('/') + 1)
|
||||||
val name = n.substring(3, n.length - 3)
|
val name = n.substring(3, n.length - 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user