mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Agent работает.
This commit is contained in:
parent
b7673cf134
commit
76a9c07a48
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ public static Process launch(
|
||||||
Collections.addAll(context.args, profile.getJvmArgs());
|
Collections.addAll(context.args, profile.getJvmArgs());
|
||||||
profile.pushOptionalJvmArgs(context.args);
|
profile.pushOptionalJvmArgs(context.args);
|
||||||
Collections.addAll(context.args, "-Djava.library.path=".concat(params.clientDir.resolve(NATIVES_DIR).toString())); // Add Native Path
|
Collections.addAll(context.args, "-Djava.library.path=".concat(params.clientDir.resolve(NATIVES_DIR).toString())); // Add Native Path
|
||||||
Collections.addAll(context.args, "-javaagent:".concat(pathLauncher));
|
Collections.addAll(context.args, "-javaagent:".concat(pathLauncher).concat("=pr"));
|
||||||
LauncherGuardManager.guard.addCustomParams(context);
|
LauncherGuardManager.guard.addCustomParams(context);
|
||||||
Collections.addAll(context.args, ClientLauncher.class.getName());
|
Collections.addAll(context.args, ClientLauncher.class.getName());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue