mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-12 07:29:24 +01:00
AndrolibResources.decode(): get apkFile as ExtFile.
This commit is contained in:
parent
c09e74c4dd
commit
43b28c7ee5
@ -166,7 +166,7 @@ public class Androlib {
|
||||
}
|
||||
}
|
||||
|
||||
public void decodeResourcesFull(File apkFile, File outDir,
|
||||
public void decodeResourcesFull(ExtFile apkFile, File outDir,
|
||||
ResTable resTable) throws AndrolibException {
|
||||
LOGGER.info("Decoding resources...");
|
||||
mAndRes.decode(resTable, apkFile, outDir);
|
||||
|
@ -43,7 +43,7 @@ final public class AndrolibResources {
|
||||
return resTable;
|
||||
}
|
||||
|
||||
public void decode(ResTable resTable, File apkFile, File outDir)
|
||||
public void decode(ResTable resTable, ExtFile apkFile, File outDir)
|
||||
throws AndrolibException {
|
||||
Duo<ResFileDecoder, ResAttrDecoder> duo = getResFileDecoder();
|
||||
ResFileDecoder fileDecoder = duo.m1;
|
||||
@ -54,7 +54,7 @@ final public class AndrolibResources {
|
||||
|
||||
Directory in, out;
|
||||
try {
|
||||
in = new ZipRODirectory(apkFile);
|
||||
in = apkFile.getDirectory();
|
||||
out = new FileDirectory(outDir);
|
||||
|
||||
fileDecoder.decode(
|
||||
|
Loading…
Reference in New Issue
Block a user