Local askpass fixes

This commit is contained in:
crschnick
2023-03-07 22:36:02 +00:00
parent 56048bd5e3
commit 872406fc4c
7 changed files with 90 additions and 1 deletions

View File

@@ -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");
}
}
}