mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
fix: use only long builder for "--only-main-classes"
This commit is contained in:
parent
9edcc78ee5
commit
bae5aab78a
@ -112,7 +112,7 @@ public class Main {
|
|||||||
if (cli.hasOption("s") || cli.hasOption("no-src")) {
|
if (cli.hasOption("s") || cli.hasOption("no-src")) {
|
||||||
decoder.setDecodeSources(ApkDecoder.DECODE_SOURCES_NONE);
|
decoder.setDecodeSources(ApkDecoder.DECODE_SOURCES_NONE);
|
||||||
}
|
}
|
||||||
if (cli.hasOption("onlymainclasses")) {
|
if (cli.hasOption("only-main-classes")) {
|
||||||
decoder.setDecodeSources(ApkDecoder.DECODE_SOURCES_SMALI_ONLY_MAIN_CLASSES);
|
decoder.setDecodeSources(ApkDecoder.DECODE_SOURCES_SMALI_ONLY_MAIN_CLASSES);
|
||||||
}
|
}
|
||||||
if (cli.hasOption("d") || cli.hasOption("debug")) {
|
if (cli.hasOption("d") || cli.hasOption("debug")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user