This commit is contained in:
nelle 2024-02-16 19:59:56 -07:00
parent 37b9cac605
commit 8f66cd8647

View file

@ -56,12 +56,12 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
ProcessBuilder(
"sshfs",
"$usernameDetail@$serverDetail:/home/$usernameDetail",
"/tmp/osda_mount",
"-v"
"/tmp/osda_mount"
)
.redirectOutput(ProcessBuilder.Redirect.INHERIT)
.redirectError(ProcessBuilder.Redirect.INHERIT)
.start().waitFor()
.start()
.waitFor()
}
init {
setLayoutManager(
@ -82,7 +82,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
addButton("Back...", CENTERED + 8, CENTERED + 8,
object : TAction() {
override fun DO() {
TODO("Instead of full program exit, make it close the login window")
getParent().close()
}
}
)