mirror of
https://github.com/iBotPeaches/Apktool.git
synced 2024-11-26 22:10:37 +00:00
refactor: support more resource-mode params (#3354)
This commit is contained in:
parent
93c66ef373
commit
23d9ec0e58
@ -167,11 +167,15 @@ public class Main {
|
||||
if (cli.hasOption("m") || cli.hasOption("match-original")) {
|
||||
config.analysisMode = true;
|
||||
}
|
||||
if (cli.hasOption("res-mode") || cli.hasOption("resolve-resources-mode")) {
|
||||
String mode = cli.getOptionValue("res-mode");
|
||||
if (cli.hasOption("resm") || cli.hasOption("res-mode") || cli.hasOption("resolve-resources-mode")) {
|
||||
String mode = cli.getOptionValue("resm");
|
||||
if (mode == null) {
|
||||
mode = cli.getOptionValue("res-mode");
|
||||
}
|
||||
if (mode == null) {
|
||||
mode = cli.getOptionValue("resolve-resources-mode");
|
||||
}
|
||||
|
||||
switch (mode) {
|
||||
case "remove":
|
||||
case "delete":
|
||||
|
Loading…
Reference in New Issue
Block a user