Introduce initial UI for connecting to networks
This commit is contained in:
parent
51fd638b72
commit
0fe630878d
33 changed files with 1458 additions and 321 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue