Fix Manager Patch Failures on Dir skips

This commit is contained in:
2026-05-20 22:35:16 +10:00
parent c4f56bcc5b
commit 38c75f9908
2 changed files with 9 additions and 7 deletions
@@ -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 {