mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-19 05:45:58 -04:00
Small bug fixes
This commit is contained in:
@@ -13,6 +13,10 @@ public class XPipeInstallation {
|
||||
|
||||
public static String getInstallationBasePathForCLI(ShellProcessControl p, String cliExecutable) throws Exception {
|
||||
var defaultInstallation = getDefaultInstallationBasePath(p, true);
|
||||
if (cliExecutable == null) {
|
||||
return defaultInstallation;
|
||||
}
|
||||
|
||||
if (p.getOsType().equals(OsType.LINUX) && cliExecutable.equals("/usr/bin/xpipe")) {
|
||||
return defaultInstallation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user