mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-06 01:55:53 +01:00
fix: support for signature scheme v4 (#2705)
This commit is contained in:
parent
fb140dcb3b
commit
6cfe2987e5
@ -237,6 +237,9 @@ public class Androlib {
|
||||
if (in.containsFile("AndroidManifest.xml")) {
|
||||
in.copyToDir(originalDir, "AndroidManifest.xml");
|
||||
}
|
||||
if (in.containsFile("stamp-cert-sha256")) {
|
||||
in.copyToDir(originalDir, "stamp-cert-sha256");
|
||||
}
|
||||
if (in.containsDir("META-INF")) {
|
||||
in.copyToDir(originalDir, "META-INF");
|
||||
|
||||
@ -607,6 +610,10 @@ public class Androlib {
|
||||
LOGGER.info("Copy AndroidManifest.xml...");
|
||||
in.copyToDir(new File(appDir, APK_DIRNAME), "AndroidManifest.xml");
|
||||
}
|
||||
if (in.containsFile("stamp-cert-sha256")) {
|
||||
LOGGER.info("Copy stamp-cert-sha256...");
|
||||
in.copyToDir(new File(appDir, APK_DIRNAME), "stamp-cert-sha256");
|
||||
}
|
||||
if (in.containsDir("META-INF")) {
|
||||
LOGGER.info("Copy META-INF...");
|
||||
in.copyToDir(new File(appDir, APK_DIRNAME), "META-INF");
|
||||
|
Loading…
Reference in New Issue
Block a user