mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 21:27:36 +02:00
feat: allow configurable api-level for smali
This commit is contained in:

committed by
Connor Tumbleson

parent
438c4b9c59
commit
0efccc2d93
@ -230,6 +230,9 @@ public class Main {
|
||||
if (cli.hasOption("use-aapt2")) {
|
||||
apkOptions.useAapt2 = true;
|
||||
}
|
||||
if (cli.hasOption("api") || cli.hasOption("api-level")) {
|
||||
apkOptions.forceApi = Integer.parseInt(cli.getOptionValue("api"));
|
||||
}
|
||||
if (cli.hasOption("o") || cli.hasOption("output")) {
|
||||
outFile = new File(cli.getOptionValue("o"));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user