mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
added multiView - it connects to all your hosts at once, this proves that i can do many at once --- for a future update
27 lines
499 B
Swift
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)
|
|
}
|
|
}
|
|
}
|