Improve loading spinner handling

This commit is contained in:
crschnick 2023-12-21 13:42:27 +00:00
parent 7d03e22af3
commit 270ef73cc1

View file

@ -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";