Allow components to specify Java agents and JVM arguments (#175)
This commit is contained in:
parent
8732bea99b
commit
dc6340bf38
10 changed files with 136 additions and 2 deletions
|
@ -67,6 +67,7 @@ void VersionFile::applyTo(LaunchProfile *profile)
|
|||
profile->applyMainClass(mainClass);
|
||||
profile->applyAppletClass(appletClass);
|
||||
profile->applyMinecraftArguments(minecraftArguments);
|
||||
profile->applyAddnJvmArguments(addnJvmArguments);
|
||||
profile->applyTweakers(addTweakers);
|
||||
profile->applyJarMods(jarMods);
|
||||
profile->applyMods(mods);
|
||||
|
@ -81,6 +82,10 @@ void VersionFile::applyTo(LaunchProfile *profile)
|
|||
{
|
||||
profile->applyMavenFile(mavenFile);
|
||||
}
|
||||
for (auto agent : agents)
|
||||
{
|
||||
profile->applyAgent(agent);
|
||||
}
|
||||
profile->applyProblemSeverity(getProblemSeverity());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue