mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Redesigned settings (fixes #47)
This commit is contained in:
@@ -3,6 +3,14 @@ import SwiftUI
|
||||
|
||||
@main
|
||||
struct YatteeApp: App {
|
||||
static var version: String {
|
||||
Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "unknown"
|
||||
}
|
||||
|
||||
static var build: String {
|
||||
Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "unknown"
|
||||
}
|
||||
|
||||
#if os(macOS)
|
||||
@NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
||||
@StateObject private var updater = UpdaterModel()
|
||||
|
Reference in New Issue
Block a user