mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-25 17:07:26 -04:00
Local askpass fixes
This commit is contained in:
@@ -269,4 +269,14 @@ public class XPipeInstallation {
|
||||
return FileNames.join("Content", "MacOS", "xpiped");
|
||||
}
|
||||
}
|
||||
|
||||
public static String getRelativeCliExecutablePath(OsType type) {
|
||||
if (type.equals(OsType.WINDOWS)) {
|
||||
return FileNames.join("cli", "xpipe.exe");
|
||||
} else if (type.equals(OsType.LINUX)) {
|
||||
return FileNames.join("cli", "bin", "xpipe");
|
||||
} else {
|
||||
return FileNames.join("Content", "MacOS", "xpipe");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user