mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-15 06:45:42 -04:00
feat: placeholders in user customized game arguments. Closes #920
This commit is contained in:
parent
3e751ba5c6
commit
378fd04463
@ -215,7 +215,7 @@ public class DefaultLauncher extends Launcher {
|
||||
}
|
||||
}
|
||||
|
||||
res.addAllWithoutParsing(options.getGameArguments());
|
||||
res.addAllWithoutParsing(Arguments.parseStringArguments(options.getGameArguments(), configuration));
|
||||
|
||||
res.removeIf(it -> getForbiddens().containsKey(it) && getForbiddens().get(it).get());
|
||||
return res;
|
||||
|
Loading…
x
Reference in New Issue
Block a user