mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-29 22:04:25 +02:00
dump/restore signatures as split
This commit is contained in:
parent
3c6df812ee
commit
c68082d28c
@ -51,7 +51,7 @@ public class ApkJsonEncoder {
|
|||||||
}
|
}
|
||||||
private void restoreSignatures(File dir, ApkModule apkModule){
|
private void restoreSignatures(File dir, ApkModule apkModule){
|
||||||
File sigDir = new File(dir, ApkUtil.SIGNATURE_DIR_NAME);
|
File sigDir = new File(dir, ApkUtil.SIGNATURE_DIR_NAME);
|
||||||
if(!sigDir.isFile()){
|
if(!sigDir.isDirectory()){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
logMessage("Loading signatures ...");
|
logMessage("Loading signatures ...");
|
||||||
|
@ -46,7 +46,7 @@ public class ApkModuleXmlEncoder {
|
|||||||
}
|
}
|
||||||
private void restoreSignatures(File dir) throws IOException {
|
private void restoreSignatures(File dir) throws IOException {
|
||||||
File sigDir = new File(dir, ApkUtil.SIGNATURE_DIR_NAME);
|
File sigDir = new File(dir, ApkUtil.SIGNATURE_DIR_NAME);
|
||||||
if(!sigDir.isFile()){
|
if(!sigDir.isDirectory()){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ApkModule apkModule = getApkModule();
|
ApkModule apkModule = getApkModule();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user