Update LSPatch.java
This commit is contained in:
parent
0f8dd05233
commit
94d4364006
|
|
@ -186,7 +186,7 @@ public class LSPatch {
|
||||||
System.out.println("Patching apk...");
|
System.out.println("Patching apk...");
|
||||||
// modify manifest
|
// modify manifest
|
||||||
try (var is = new ByteArrayInputStream(modifyManifestFile(manifestEntry.open()))) {
|
try (var is = new ByteArrayInputStream(modifyManifestFile(manifestEntry.open()))) {
|
||||||
zFile.add(APPLICATION_NAME_ASSET_PATH, is);
|
zFile.add(ANDROID_MANIFEST_XML, is);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
throw new PatchError("Error when modifying manifest: " + e);
|
throw new PatchError("Error when modifying manifest: " + e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue