Files
ShhShell/ShhShell/ShhShellApp.swift
neon443 a06de0b4c4 hostsview - list of hosts
hostmanager for loading and saving hosts to defaults
host.debug/.blank as static vars
fix crash on disconnect by checking for connection in timer before checking if channel is open
keychain layer? to convert ed25519 to seckey and back for keychain storage
generate ed25519 via cryptokit
2025-06-20 13:40:20 +01:00

26 lines
477 B
Swift

//
// ShhShellApp.swift
// ShhShell
//
// Created by neon443 on 02/06/2025.
//
import SwiftUI
@main
struct ShhShellApp: App {
@StateObject var sshHandler: SSHHandler = SSHHandler(host: Host.blank)
@StateObject var keyManager: KeyManager = KeyManager()
@StateObject var hostsManager: HostsManager = HostsManager()
var body: some Scene {
WindowGroup {
ContentView(
handler: sshHandler,
keyManager: keyManager,
hostsManager: hostsManager
)
}
}
}