remove path for non-functional gnome-aah-askpass. add path for functional ssh-askpass.

master
itwrx 1 year ago
parent d6070c906e
commit 608d289cdd
  1. 4
      shared.nim

@ -31,8 +31,8 @@ proc getAskPassPath*(): string =
if fileExists("/usr/libexec/openssh/ssh-askpass"):
askPassPath = "/usr/libexec/openssh/ssh-askpass"
elif fileExists("/usr/lib/openssh/gnome-ssh-askpass"):
askPassPath = "/usr/lib/openssh/gnome-ssh-askpass"
elif fileExists("/usr/lib/ssh/x11-ssh-askpass"):
askPassPath = "/usr/lib/ssh/x11-ssh-askpass"
elif fileExists("/usr/lib/ssh/gtk-ssh-askpass"):
askPassPath = "/usr/lib/ssh/gtk-ssh-askpass"
elif fileExists("/usr/lib/ssh/ssh-askpass"):

Loading…
Cancel
Save