AirAcceptMain.swift 349 B

1234567891011121314
  1. import AirAcceptCore
  2. import AppKit
  3. @main
  4. enum AirAcceptMain {
  5. @MainActor
  6. static func main() {
  7. AirAcceptLogger().info("AirAccept executable started pid=\(ProcessInfo.processInfo.processIdentifier)")
  8. let app = NSApplication.shared
  9. let delegate = AppDelegate()
  10. app.delegate = delegate
  11. app.run()
  12. }
  13. }