]>
Commit | Line | Data |
---|---|---|
5e8ff485 | 1 | import SwiftUI |
4e7e11cf | 2 | import Sparkle |
5e8ff485 RBR |
3 | |
4 | @main | |
5 | struct MapApp: App { | |
4e7e11cf RBR |
6 | |
7 | private let updaterController: SPUStandardUpdaterController = SPUStandardUpdaterController(startingUpdater: true, updaterDelegate: nil, userDriverDelegate: nil) | |
8 | ||
5e8ff485 | 9 | var body: some Scene { |
e2c37ac1 RBR |
10 | DocumentGroup(newDocument: MapDocument()) { file in |
11 | MapEditor(document: file.$document, url: file.fileURL) | |
12 | }.commands { | |
13 | MapCommands() | |
4e7e11cf | 14 | UpdateCommands(updaterController: updaterController) |
14416762 | 15 | } |
5e8ff485 RBR |
16 | } |
17 | } |