You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
629 B

import SwiftUI
@main
struct DropTwoApp: App {
@StateObject private var settings = AppSettings()
@StateObject private var updater = Updater()
var body: some Scene {
WindowGroup {
ContentView()
.environmentObject(settings)
.tint(.gold)
}
.windowToolbarStyle(.unified)
.defaultSize(width: 820, height: 520)
.commands {
CommandGroup(after: .appInfo) {
Button("Nach Updates suchen …") { updater.checkForUpdates() }
.disabled(!updater.canCheckForUpdates)
}
}
}
}

Powered by TurnKey Linux.