diff --git a/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java b/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java index af90017e..e976a3b1 100644 --- a/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java +++ b/brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java @@ -157,7 +157,6 @@ public class Main { } if (cli.hasOption("o") || cli.hasOption("output")) { outDir = new File(cli.getOptionValue("o")); - decoder.setOutDir(outDir); } else { // make out folder manually using name of apk String outName = apkName; @@ -167,9 +166,9 @@ public class Main { // make file from path outName = new File(outName).getName(); outDir = new File(outName); - decoder.setOutDir(outDir); } + decoder.setOutDir(outDir); decoder.setApkFile(new File(apkName)); try {