import SwiftUI
@main
struct PhysarumApp: App {
init() {
Task.detached(priority: .utility) { CaptureCleanup.sweep() }
}
var body: some Scene {
WindowGroup {
#if os(macOS)
// Three columns at their minimums (sidebar 260 + a renderable Detail +
// inspector 340) need ~1000pt before the wider inspector ideal kicks in.
RootView()
.frame(minWidth: 1000, minHeight: 600)
#elseif os(tvOS)
TVRootView()
#else
RootView()
#endif
}
#if os(macOS)
.windowStyle(.hiddenTitleBar)
#endif
}
}