chore: rename to Meetingnotes
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
//
|
||||
// meetingnotesApp.swift
|
||||
// meetingnotes
|
||||
//
|
||||
// Created by Owen Gretzinger on 2025-07-10.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import Sparkle
|
||||
|
||||
@main
|
||||
struct MeetingnotesApp: App {
|
||||
private let updaterController: SPUStandardUpdaterController
|
||||
|
||||
init() {
|
||||
updaterController = SPUStandardUpdaterController(updaterDelegate: nil, userDriverDelegate: nil)
|
||||
}
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
.frame(minWidth: 800, minHeight: 600)
|
||||
}
|
||||
.windowResizability(.contentSize)
|
||||
.commands {
|
||||
CommandGroup(after: .appInfo) {
|
||||
CheckForUpdatesView(updater: updaterController.updater)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct CheckForUpdatesView: View {
|
||||
let updater: SPUUpdater
|
||||
|
||||
var body: some View {
|
||||
Button("Check for Updates...") {
|
||||
updater.checkForUpdates()
|
||||
}
|
||||
.keyboardShortcut("u", modifiers: .command)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user