Skip to content

Commit 4de4a40

Browse files
authored
--nogui
1 parent af5df29 commit 4de4a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tools/StartScriptGenerator.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
autoRestart: boolean,
5959
platform: Option
6060
): string => {
61-
const javaCmd = `java -Xms${memory * 1024}M -Xmx${memory * 1024}M ${flag.value}-jar ${filename || "server.jar"}${gui || flag.id === "velocity" ? "" : " nogui"}`;
61+
const javaCmd = `java -Xms${memory * 1024}M -Xmx${memory * 1024}M ${flag.value}-jar ${filename || "server.jar"}${gui || flag.id === "velocity" ? "" : " --nogui"}`;
6262
6363
let script = platform.id === "windows" ? `${javaCmd}\n\npause` : javaCmd;
6464
if (autoRestart) {

0 commit comments

Comments
 (0)