import SwiftUI @main struct MacTetherApp: App { @State private var store = MacTetherStore() var body: some Scene { WindowGroup { ContentView(store: store) } .windowResizability(.contentMinSize) .defaultSize(width: 560, height: 520) MenuBarExtra("tether", systemImage: store.connected ? "link.circle.fill" : "link.circle") { MenuView(store: store) .frame(width: 320) } .menuBarExtraStyle(.window) } }