[FIX] Ускорение запуска путем выключения javaagent на стороне лаунчера

This commit is contained in:
Gravit 2019-11-10 07:00:22 +07:00
parent 0224ce8cd6
commit 3291d2de6b
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -82,7 +82,7 @@ public static void main(String[] arguments) throws IOException, InterruptedExcep
Collections.addAll(args, MAGIC_ARG);
Collections.addAll(args, "-XX:+DisableAttachMechanism");
Collections.addAll(args, "-Xmx256M");
Collections.addAll(args, "-javaagent:".concat(pathLauncher));
//Collections.addAll(args, "-javaagent:".concat(pathLauncher));
Collections.addAll(args, "-cp");
Collections.addAll(args, pathLauncher);
Collections.addAll(args, LauncherEngine.class.getName());