Files
ShhShell/ShhShell/ShhShellApp.swift
neon443 bf4a273a46 moved hostsmanger back out because nested observedobjects are wierd
added multiView - it connects to all your hosts at once, this proves that i can do many at once
 --- for a future update
2025-06-24 15:33:56 +01:00

27 lines
499 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 hostsManager: HostsManager = HostsManager()
@StateObject var keyManager: KeyManager = KeyManager()
var body: some Scene {
WindowGroup {
ContentView(
handler: sshHandler,
hostsManger: hostsManager,
keyManager: keyManager
)
.colorScheme(.dark)
}
}
}