Update LSPatch.java

This commit is contained in:
LoveSy 2021-06-21 09:02:18 +08:00 committed by GitHub
parent 0f8dd05233
commit 94d4364006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class LSPatch {
System.out.println("Patching apk...");
// modify manifest
try (var is = new ByteArrayInputStream(modifyManifestFile(manifestEntry.open()))) {
zFile.add(APPLICATION_NAME_ASSET_PATH, is);
zFile.add(ANDROID_MANIFEST_XML, is);
} catch (Throwable e) {
throw new PatchError("Error when modifying manifest: " + e);
}