fix: support for signature scheme v4
@@ -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");
