mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
More fixes for beacon start up
This commit is contained in:
parent
1dcd88e709
commit
3d9937bafd
2 changed files with 5 additions and 5 deletions
|
@ -11,16 +11,16 @@ import java.util.List;
|
|||
public class XPipeInstallation {
|
||||
|
||||
public static String createExternalAsyncLaunchCommand(String installationBase, String arguments) {
|
||||
var suffix = (arguments != null ? arguments : "");
|
||||
var suffix = (arguments != null ? " " + arguments : "");
|
||||
if (OsType.getLocal().equals(OsType.LINUX)) {
|
||||
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external " + suffix + " & disown";
|
||||
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external" + suffix + " & disown";
|
||||
}
|
||||
|
||||
return "\"" + FileNames.join(installationBase, XPipeInstallation.getDaemonExecutablePath(OsType.getLocal())) + "\" " + suffix;
|
||||
return "\"" + FileNames.join(installationBase, XPipeInstallation.getDaemonExecutablePath(OsType.getLocal())) + "\" --external" + suffix;
|
||||
}
|
||||
|
||||
public static String createExternalLaunchCommand(String command, String arguments) {
|
||||
var suffix = (arguments != null ? arguments : "");
|
||||
var suffix = (arguments != null ? " " + arguments : "");
|
||||
return "\"" + command + "\" --external" + suffix;
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.0.2.4-SNAPSHOT
|
||||
0.0.2.41
|
Loading…
Reference in a new issue