mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-01 17:47:30 +13:00
Improve loading spinner handling
This commit is contained in:
parent
7d03e22af3
commit
270ef73cc1
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class XPipeInstallation {
|
||||||
public static String createExternalAsyncLaunchCommand(
|
public static String createExternalAsyncLaunchCommand(
|
||||||
String installationBase, XPipeDaemonMode mode, String arguments) {
|
String installationBase, XPipeDaemonMode mode, String arguments) {
|
||||||
var suffix = (arguments != null ? " " + 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)) {
|
if (OsType.getLocal().equals(OsType.LINUX)) {
|
||||||
return "nohup \"" + installationBase + "/app/bin/xpiped\"" + modeOption + suffix
|
return "nohup \"" + installationBase + "/app/bin/xpiped\"" + modeOption + suffix
|
||||||
+ " & disown";
|
+ " & disown";
|
||||||
|
|
Loading…
Reference in a new issue