mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-11 03:16:47 +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);
|
decoder.setAnalysisMode(true, false);
|
||||||
}
|
}
|
||||||
if (cli.hasOption("o") || cli.hasOption("output")) {
|
if (cli.hasOption("o") || cli.hasOption("output")) {
|
||||||
decoder.setOutDir(new File(cli.getOptionValue("o")));
|
outDir = new File(cli.getOptionValue("o"));
|
||||||
|
decoder.setOutDir(outDir);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// make out folder manually using name of apk
|
// make out folder manually using name of apk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user