mirror of
https://github.com/meowarex/rl-mobile.git
synced 2026-06-18 05:23:12 +10:00
Fix Manager Patch Failures on Dir skips
This commit is contained in:
+1
@@ -40,6 +40,7 @@ class PatchManifestStep(private val options: PatchOptions) : Step() {
|
||||
ZipReader(apk).use { reader ->
|
||||
ZipWriter(repacked, /* append = */ false).use { writer ->
|
||||
for (name in reader.entryNames) {
|
||||
if (name.endsWith("/")) continue
|
||||
val bytes = if (name == "AndroidManifest.xml") {
|
||||
patchedManifest
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user