mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] RuntimeInClient fixes
This commit is contained in:
parent
5920f524c7
commit
8290321512
2 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,8 @@ public static void main(String[] arguments) throws IOException, InterruptedExcep
|
|||
context.jvmModules.add("javafx.fxml");
|
||||
context.jvmModules.add("javafx.controls");
|
||||
context.jvmModules.add("javafx.swing");
|
||||
context.jvmModules.add("javafx.media");
|
||||
context.jvmModules.add("javafx.web");
|
||||
context.args.add(MAGIC_ARG);
|
||||
context.args.add("-XX:+DisableAttachMechanism");
|
||||
EnvHelper.addEnv(context.processBuilder);
|
||||
|
|
|
@ -134,6 +134,8 @@ private void applyClientProfile() {
|
|||
jvmModules.add("javafx.fxml");
|
||||
jvmModules.add("javafx.controls");
|
||||
jvmModules.add("javafx.swing");
|
||||
jvmModules.add("javafx.media");
|
||||
jvmModules.add("javafx.web");
|
||||
}
|
||||
LauncherEngine.modulesManager.invokeEvent(new ClientProcessBuilderCreateEvent(this));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue