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 usernameDetail = loginField.text
|
||||||
var serverDetail = serverField.text
|
var serverDetail = serverField.text
|
||||||
//openssh-askpass as well
|
//openssh-askpass as well
|
||||||
val createMntPnt =
|
|
||||||
ProcessBuilder("mkdir", "/tmp/osda_mount")
|
ProcessBuilder("mkdir", "/tmp/osda_mount")
|
||||||
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
|
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
|
||||||
.redirectError(ProcessBuilder.Redirect.INHERIT)
|
.redirectError(ProcessBuilder.Redirect.INHERIT)
|
||||||
.start()
|
.start()
|
||||||
.waitFor()
|
.waitFor()
|
||||||
val remoteMount =
|
|
||||||
ProcessBuilder(
|
ProcessBuilder(
|
||||||
"sshfs",
|
"sshfs",
|
||||||
"$usernameDetail@$serverDetail:/home/$usernameDetail",
|
"$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?
|
//TODO: https://github.com/winfsp/sshfs-win for sshfs?
|
||||||
// and https://github.com/git-ecosystem/git-credential-manager/ for askpass????
|
// and https://github.com/git-ecosystem/git-credential-manager/ for askpass????
|
||||||
// `net use X: \\sshfs\username@servername`
|
// `net use X: \\sshfs\username@servername`
|
||||||
val remoteMount =
|
|
||||||
ProcessBuilder(
|
ProcessBuilder(
|
||||||
"net",
|
"net",
|
||||||
"use",
|
"use",
|
||||||
|
|
Loading…
Reference in a new issue