]> git.r.bdr.sh - rbdr/map/blame - Map/MapApp.swift
Update license URL
[rbdr/map] / Map / MapApp.swift
CommitLineData
5e8ff485 1import SwiftUI
4e7e11cf 2import Sparkle
5e8ff485
RBR
3
4@main
5struct 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}