mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35: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()) {
|
if (new File("resources.arsc").exists()) {
|
||||||
try {
|
try {
|
||||||
new File("build/apk/res").mkdirs();
|
new File("build/apk/res").mkdirs();
|
||||||
Util.copyFiles(new FileDirectory("res"),
|
DirUtil.copyToDir(new FileDirectory("res"),
|
||||||
new FileDirectory("build/apk/res"));
|
new FileDirectory("build/apk/res"));
|
||||||
IOUtils.copy(new FileInputStream("resources.arsc"),
|
IOUtils.copy(new FileInputStream("resources.arsc"),
|
||||||
new FileOutputStream("build/apk/resources.arsc"));
|
new FileOutputStream("build/apk/resources.arsc"));
|
||||||
@ -144,7 +144,7 @@ public class Androlib {
|
|||||||
// mAndRes.getResTable(apkFile), new File("smali"));
|
// mAndRes.getResTable(apkFile), new File("smali"));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Util.copyFiles(new ZipRODirectory(apkFile),
|
DirUtil.copyToDir(new ZipRODirectory(apkFile),
|
||||||
new FileDirectory("build/apk"));
|
new FileDirectory("build/apk"));
|
||||||
} catch (DirectoryException ex) {
|
} catch (DirectoryException ex) {
|
||||||
throw new AndrolibException(ex);
|
throw new AndrolibException(ex);
|
||||||
|
Loading…
Reference in New Issue
Block a user