mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] Ускорение запуска путем выключения javaagent на стороне лаунчера
This commit is contained in:
parent
0224ce8cd6
commit
3291d2de6b
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public static void main(String[] arguments) throws IOException, InterruptedExcep
|
||||||
Collections.addAll(args, MAGIC_ARG);
|
Collections.addAll(args, MAGIC_ARG);
|
||||||
Collections.addAll(args, "-XX:+DisableAttachMechanism");
|
Collections.addAll(args, "-XX:+DisableAttachMechanism");
|
||||||
Collections.addAll(args, "-Xmx256M");
|
Collections.addAll(args, "-Xmx256M");
|
||||||
Collections.addAll(args, "-javaagent:".concat(pathLauncher));
|
//Collections.addAll(args, "-javaagent:".concat(pathLauncher));
|
||||||
Collections.addAll(args, "-cp");
|
Collections.addAll(args, "-cp");
|
||||||
Collections.addAll(args, pathLauncher);
|
Collections.addAll(args, pathLauncher);
|
||||||
Collections.addAll(args, LauncherEngine.class.getName());
|
Collections.addAll(args, LauncherEngine.class.getName());
|
||||||
|
|
Loading…
Reference in a new issue