Introduce initial UI for connecting to networks

This commit is contained in:
Conrad Kramer 2024-02-24 09:49:07 -08:00
parent 51fd638b72
commit 0fe630878d
33 changed files with 1458 additions and 321 deletions

View file

@ -1,21 +1,13 @@
import SwiftUI
@main
#if !os(macOS)
@MainActor
@main
struct BurrowApp: App {
static let tunnel = Tunnel { manager, proto in
proto.serverAddress = "hackclub.com"
manager.localizedDescription = "Burrow"
}
#if os(macOS)
@NSApplicationDelegateAdaptor(AppDelegate.self)
var delegate
#endif
var body: some Scene {
WindowGroup {
TunnelView(tunnel: Self.tunnel)
BurrowView()
}
}
}
#endif