- Rename application from MenuWhisper to Tell me with new domain com.fmartingr.tellme - Implement comprehensive preferences window with 6 tabs (General, Models, Text Insertion, Interface, Advanced, Permissions) - Add full English/Spanish localization for all UI elements - Create functional onboarding flow with model download capability - Implement preview dialog for transcription editing - Add settings export/import functionality - Fix HUD content display issues and add comprehensive permission checking - Enhance build scripts and app bundle creation for proper localization support
26 lines
643 B
Swift
26 lines
643 B
Swift
import SwiftUI
|
|
import CoreUtils
|
|
|
|
class AppDelegate: NSObject, NSApplicationDelegate {
|
|
private let appController = AppController()
|
|
|
|
func applicationDidFinishLaunching(_ notification: Notification) {
|
|
appController.start()
|
|
}
|
|
}
|
|
|
|
@main
|
|
struct TellMeApp: App {
|
|
@NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
|
|
|
var body: some Scene {
|
|
// Use a hidden window scene since we're using NSStatusItem for the menu bar
|
|
WindowGroup {
|
|
EmptyView()
|
|
}
|
|
.windowStyle(.hiddenTitleBar)
|
|
.windowResizability(.contentSize)
|
|
.defaultSize(width: 0, height: 0)
|
|
}
|
|
}
|
|
|