]> git.r.bdr.sh - rbdr/map/blame_incremental - Map/MapApp.swift
Update license URL
[rbdr/map] / Map / MapApp.swift
... / ...
CommitLineData
1import SwiftUI
2import Sparkle
3
4@main
5struct MapApp: App {
6
7 private let updaterController: SPUStandardUpdaterController = SPUStandardUpdaterController(startingUpdater: true, updaterDelegate: nil, userDriverDelegate: nil)
8
9 var body: some Scene {
10 DocumentGroup(newDocument: MapDocument()) { file in
11 MapEditor(document: file.$document, url: file.fileURL)
12 }.commands {
13 MapCommands()
14 UpdateCommands(updaterController: updaterController)
15 }
16 }
17}