mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
Androlib: updated to interface changes in brut.directory .
This commit is contained in:
parent
da2b3d8313
commit
ecca0d80b7
@ -113,7 +113,7 @@ public class Androlib {
|
||||
if (new File("resources.arsc").exists()) {
|
||||
try {
|
||||
new File("build/apk/res").mkdirs();
|
||||
Util.copyFiles(new FileDirectory("res"),
|
||||
DirUtil.copyToDir(new FileDirectory("res"),
|
||||
new FileDirectory("build/apk/res"));
|
||||
IOUtils.copy(new FileInputStream("resources.arsc"),
|
||||
new FileOutputStream("build/apk/resources.arsc"));
|
||||
@ -144,7 +144,7 @@ public class Androlib {
|
||||
// mAndRes.getResTable(apkFile), new File("smali"));
|
||||
|
||||
try {
|
||||
Util.copyFiles(new ZipRODirectory(apkFile),
|
||||
DirUtil.copyToDir(new ZipRODirectory(apkFile),
|
||||
new FileDirectory("build/apk"));
|
||||
} catch (DirectoryException ex) {
|
||||
throw new AndrolibException(ex);
|
||||
|
Loading…
Reference in New Issue
Block a user