mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-06 08:44:30 +02:00
updated to isAdvanceMode() and updated spacing on file
This commit is contained in:
parent
a48c11dc1c
commit
9a6fd7de63
@ -354,7 +354,7 @@ public class Main {
|
|||||||
.create("v");
|
.create("v");
|
||||||
|
|
||||||
// check for advance mode
|
// check for advance mode
|
||||||
if (advanceMode) {
|
if (isAdvanceMode()) {
|
||||||
DecodeOptions.addOption(debugDecOption);
|
DecodeOptions.addOption(debugDecOption);
|
||||||
DecodeOptions.addOption(noDbgOption);
|
DecodeOptions.addOption(noDbgOption);
|
||||||
DecodeOptions.addOption(keepResOption);
|
DecodeOptions.addOption(keepResOption);
|
||||||
@ -409,7 +409,7 @@ public class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static String verbosityHelp() {
|
private static String verbosityHelp() {
|
||||||
if (advanceMode) {
|
if (isAdvanceMode()) {
|
||||||
return "[-q|--quiet OR -v|--verbose] ";
|
return "[-q|--quiet OR -v|--verbose] ";
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
@ -436,7 +436,7 @@ public class Main {
|
|||||||
" and baksmali v" + ApktoolProperties.get("baksmaliVersion") + "\n" +
|
" and baksmali v" + ApktoolProperties.get("baksmaliVersion") + "\n" +
|
||||||
"Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>\n" +
|
"Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>\n" +
|
||||||
"Updated by Connor Tumbleson <connor.tumbleson@gmail.com>" );
|
"Updated by Connor Tumbleson <connor.tumbleson@gmail.com>" );
|
||||||
if (advanceMode) {
|
if (isAdvanceMode()) {
|
||||||
System.out.println("Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)\n");
|
System.out.println("Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)\n");
|
||||||
}else {
|
}else {
|
||||||
System.out.println("");
|
System.out.println("");
|
||||||
@ -447,7 +447,7 @@ public class Main {
|
|||||||
formatter.printHelp("apktool " + verbosityHelp() + "if|install-framework [options] <framework.apk>", frameOptions);
|
formatter.printHelp("apktool " + verbosityHelp() + "if|install-framework [options] <framework.apk>", frameOptions);
|
||||||
formatter.printHelp("apktool " + verbosityHelp() + "d[ecode] [options] <file_apk>", DecodeOptions);
|
formatter.printHelp("apktool " + verbosityHelp() + "d[ecode] [options] <file_apk>", DecodeOptions);
|
||||||
formatter.printHelp("apktool " + verbosityHelp() + "b[uild] [options] <app_path>", BuildOptions);
|
formatter.printHelp("apktool " + verbosityHelp() + "b[uild] [options] <app_path>", BuildOptions);
|
||||||
if (advanceMode) {
|
if (isAdvanceMode()) {
|
||||||
formatter.printHelp("apktool " + verbosityHelp() + "publicize-resources <file_path>",
|
formatter.printHelp("apktool " + verbosityHelp() + "publicize-resources <file_path>",
|
||||||
"Make all framework resources public.", emptyOptions, null);
|
"Make all framework resources public.", emptyOptions, null);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user