mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-22 01:37:34 +01:00
Exit application only after version command
This commit is contained in:
parent
fce273adaf
commit
e7e8747792
@ -99,6 +99,7 @@ public class Main {
|
|||||||
if (cmdFound == false) {
|
if (cmdFound == false) {
|
||||||
if (commandLine.hasOption("version")) {
|
if (commandLine.hasOption("version")) {
|
||||||
_version();
|
_version();
|
||||||
|
System.exit(0);
|
||||||
} else {
|
} else {
|
||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
@ -192,7 +193,6 @@ public class Main {
|
|||||||
decoder.close();
|
decoder.close();
|
||||||
} catch (IOException ignored) {}
|
} catch (IOException ignored) {}
|
||||||
}
|
}
|
||||||
System.exit(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void cmdBuild(CommandLine cli) throws BrutException {
|
private static void cmdBuild(CommandLine cli) throws BrutException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user