We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5df29 commit 4de4a40Copy full SHA for 4de4a40
src/components/tools/StartScriptGenerator.svelte
@@ -58,7 +58,7 @@
58
autoRestart: boolean,
59
platform: Option
60
): string => {
61
- const javaCmd = `java -Xms${memory * 1024}M -Xmx${memory * 1024}M ${flag.value}-jar ${filename || "server.jar"}${gui || flag.id === "velocity" ? "" : " nogui"}`;
+ const javaCmd = `java -Xms${memory * 1024}M -Xmx${memory * 1024}M ${flag.value}-jar ${filename || "server.jar"}${gui || flag.id === "velocity" ? "" : " --nogui"}`;
62
63
let script = platform.id === "windows" ? `${javaCmd}\n\npause` : javaCmd;
64
if (autoRestart) {
0 commit comments