import SwiftUI

@main
struct Anime25DRigApp: App {
    @StateObject private var peer = PeerController()

    var body: some Scene {
        #if os(macOS)
        Window("Anime 2.5D Rig", id: "main") {
            ContentView()
                .environmentObject(peer)
        }
        #else
        WindowGroup {
            ContentView()
                .environmentObject(peer)
        }
        #endif
    }
}
