mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 00:59:35 -04:00
Feat (parser): handle javaagent and verbose args
This commit is contained in:
parent
4716e99df1
commit
328581c2a9
@ -437,7 +437,7 @@ public class JREUtils {
|
||||
ArrayList<String> parsedArguments = new ArrayList<>(0);
|
||||
args = args.trim().replace(" ", "");
|
||||
//For each prefixes, we separate args.
|
||||
String[] separators = new String[]{"-XX:-","-XX:+", "-XX:","--", "-D", "-X"};
|
||||
String[] separators = new String[]{"-XX:-","-XX:+", "-XX:","--", "-D", "-X", "-javaagent:", "-verbose"};
|
||||
for(String prefix : separators){
|
||||
while (true){
|
||||
int start = args.indexOf(prefix);
|
||||
|
Loading…
x
Reference in New Issue
Block a user