mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-26 01:20:28 +00:00
Fix daemon external start up command on mac
This commit is contained in:
parent
e130d1ab20
commit
0c8624168f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ public class XPipeInstallation {
|
||||||
if (OsType.getLocal().equals(OsType.LINUX)) {
|
if (OsType.getLocal().equals(OsType.LINUX)) {
|
||||||
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external" + suffix + " & disown";
|
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external" + suffix + " & disown";
|
||||||
} else if (OsType.getLocal().equals(OsType.MAC)) {
|
} else if (OsType.getLocal().equals(OsType.MAC)) {
|
||||||
return "nohup \"" + installationBase + "/Contents/MacOS/xpiped\" --external" + suffix + " & disown";
|
return "open \"" + installationBase + "\" --args --external" + suffix;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "\"" + FileNames.join(installationBase, XPipeInstallation.getDaemonExecutablePath(OsType.getLocal())) + "\" --external" + suffix;
|
return "\"" + FileNames.join(installationBase, XPipeInstallation.getDaemonExecutablePath(OsType.getLocal())) + "\" --external" + suffix;
|
||||||
|
|
Loading…
Reference in a new issue