mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 21:36:17 +00:00
using blink shell's ssh for ssh instead of nmsssh idk why it doesnt work
This commit is contained in:
@@ -6,15 +6,20 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import NMSSH
|
||||
|
||||
struct ContentView: View {
|
||||
var sshHandler = SSHHandler()
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
Image(systemName: "globe")
|
||||
.imageScale(.large)
|
||||
.foregroundStyle(.tint)
|
||||
Text("Hello, world!")
|
||||
Button("go") {
|
||||
sshHandler.connect()
|
||||
sshHandler.testExec()
|
||||
}
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user