mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-05 16:46:50 +01:00
fix NPE for outputting to a folder that already exists.
This commit is contained in:
parent
c27d514a16
commit
acea65f63a
@ -145,7 +145,8 @@ public class Main {
|
||||
decoder.setAnalysisMode(true, false);
|
||||
}
|
||||
if (cli.hasOption("o") || cli.hasOption("output")) {
|
||||
decoder.setOutDir(new File(cli.getOptionValue("o")));
|
||||
outDir = new File(cli.getOptionValue("o"));
|
||||
decoder.setOutDir(outDir);
|
||||
} else {
|
||||
|
||||
// make out folder manually using name of apk
|
||||
|
Loading…
x
Reference in New Issue
Block a user