@@ -13,6 +13,10 @@ struct ParseableViewerApp: App {
1313 .windowStyle(.titleBar)
1414 .defaultSize(width: 1200, height: 800)
1515 .commands {
16+ CommandGroup(replacing: .appInfo) {
17+ AboutCommand()
18+ }
19+
1620 CommandGroup(after: .newItem) {
1721 Button("New Connection...") {
1822 appState.editingConnection = nil
@@ -47,9 +51,25 @@ struct ParseableViewerApp: App {
4751 }
4852 }
4953
54+ Window("About Parseable Viewer", id: "about") {
55+ AboutView()
56+ }
57+ .windowStyle(.hiddenTitleBar)
58+ .windowResizability(.contentSize)
59+
5060 Settings {
5161 SettingsView()
5262 .environment(appState)
5363 }
5464 }
5565}
66+
67+private struct AboutCommand: View {
68+ @Environment(\.openWindow) private var openWindow
69+
70+ var body: some View {
71+ Button("About Parseable Viewer") {
72+ openWindow(id: "about")
73+ }
74+ }
75+}