mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
parent
cacc60b1ac
commit
c194168d9b
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user