Fix daemon external start up command on mac

This commit is contained in:
Christopher Schnick 2022-12-28 05:05:22 +01:00
parent e130d1ab20
commit 0c8624168f

View file

@ -16,7 +16,7 @@ public class XPipeInstallation {
if (OsType.getLocal().equals(OsType.LINUX)) {
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external" + suffix + " & disown";
} 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;