Cleanup a bit
This commit is contained in:
parent
f7d4d6858e
commit
acb234abe6
1 changed files with 0 additions and 3 deletions
|
@ -93,13 +93,11 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
|||
var usernameDetail = loginField.text
|
||||
var serverDetail = serverField.text
|
||||
//openssh-askpass as well
|
||||
val createMntPnt =
|
||||
ProcessBuilder("mkdir", "/tmp/osda_mount")
|
||||
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
|
||||
.redirectError(ProcessBuilder.Redirect.INHERIT)
|
||||
.start()
|
||||
.waitFor()
|
||||
val remoteMount =
|
||||
ProcessBuilder(
|
||||
"sshfs",
|
||||
"$usernameDetail@$serverDetail:/home/$usernameDetail",
|
||||
|
@ -119,7 +117,6 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
|||
//TODO: https://github.com/winfsp/sshfs-win for sshfs?
|
||||
// and https://github.com/git-ecosystem/git-credential-manager/ for askpass????
|
||||
// `net use X: \\sshfs\username@servername`
|
||||
val remoteMount =
|
||||
ProcessBuilder(
|
||||
"net",
|
||||
"use",
|
||||
|
|
Loading…
Reference in a new issue