Initial Push

This commit is contained in:
2026-01-31 23:01:54 +00:00
parent 44d036c8d6
commit 5874b31464
32 changed files with 7171 additions and 0 deletions

26
AppMain.swift Normal file
View File

@@ -0,0 +1,26 @@
import Cocoa
@main
class AppDelegate: NSObject, NSApplicationDelegate {
var mainWindow: MainWindowController!
func applicationDidFinishLaunching(_ notification: Notification) {
NSLog("=== App launched ===")
AIManager.shared.updateService()
NSLog("Creating main window...")
mainWindow = MainWindowController()
NSLog("Showing window...")
mainWindow.showWindow(nil)
NSLog("Window visible: \(mainWindow.window?.isVisible ?? false)")
NSLog("Window frame: \(mainWindow.window?.frame ?? .zero)")
NSApp.activate(ignoringOtherApps: true)
NSLog("=== Setup complete ===")
}
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
}