16 lines
411 B
Swift
16 lines
411 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct PHPGuardApp: App {
|
|
@StateObject private var store = AuditStore()
|
|
var body: some Scene {
|
|
WindowGroup("PHPGuard") {
|
|
ContentView()
|
|
.environmentObject(store)
|
|
.task { store.refreshCVEsOnLaunch() }
|
|
}
|
|
.defaultSize(width: 1120, height: 720)
|
|
Settings { SettingsView().environmentObject(store) }
|
|
}
|
|
}
|