From 270ef73cc19dc4505cc5a0f1771ec3803ad7bf30 Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 21 Dec 2023 13:42:27 +0000 Subject: [PATCH] Improve loading spinner handling --- core/src/main/java/io/xpipe/core/util/XPipeInstallation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/io/xpipe/core/util/XPipeInstallation.java b/core/src/main/java/io/xpipe/core/util/XPipeInstallation.java index 5c919394a..7445d3693 100644 --- a/core/src/main/java/io/xpipe/core/util/XPipeInstallation.java +++ b/core/src/main/java/io/xpipe/core/util/XPipeInstallation.java @@ -55,7 +55,7 @@ public class XPipeInstallation { public static String createExternalAsyncLaunchCommand( String installationBase, XPipeDaemonMode mode, String arguments) { var suffix = (arguments != null ? " " + arguments : ""); - var modeOption = mode != null ? " --mode " + mode.getDisplayName() : null; + var modeOption = mode != null ? " --mode " + mode.getDisplayName() : ""; if (OsType.getLocal().equals(OsType.LINUX)) { return "nohup \"" + installationBase + "/app/bin/xpiped\"" + modeOption + suffix + " & disown";