Skip to content

Commit

Permalink
fix: support for signature scheme v4 (#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Nov 27, 2021
1 parent fb140dc commit 6cfe298
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ public void writeOriginalFiles(ExtFile apkFile, File outDir)
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");

Expand Down Expand Up @@ -607,6 +610,10 @@ public void buildCopyOriginalFiles(File appDir)
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");
Expand Down

0 comments on commit 6cfe298

Please sign in to comment.