Commit a5c75e02 authored by superblaubeere27's avatar superblaubeere27

Update LiquidLauncher.java

parent 0950902d
......@@ -336,7 +336,7 @@ public class LiquidLauncher {
else
libraries.append(Utils.unixPathReplacer(tree.getMinecraftJar().getAbsolutePath()));
final String arguments = SystemUtils.getOS() == SystemUtils.OSType.WINDOWS ? "\"" + menuInterface.jvmArgumentsField.getText() + "\"" : menuInterface.jvmArgumentsField.getText();
final String arguments = menuInterface.jvmArgumentsField.getText();
final String assetsIndex = obj.get("assets").getAsString();
final String mainClass = obj.get("mainClass").getAsString();
final String minecraftArguments = obj.get("minecraftArguments").getAsString();
......@@ -348,7 +348,7 @@ public class LiquidLauncher {
final String userType = !account.isLegacy() ? "legacy" : "mojang";
// GameProcess building
final GameProcessBuilder gameProcessBuilder = new GameProcessBuilder(menuInterface.jvmPath.getText());
final GameProcessBuilder gameProcessBuilder = new GameProcessBuilder(SystemUtils.getOS() == SystemUtils.OSType.WINDOWS ? "\"" + menuInterface.jvmPath.getText() + "\"" : menuInterface.jvmPath.getText());
gameProcessBuilder.directory(tree.getGameDir());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment