diff --git a/macos/Sources/App/macOS/AppDelegate.swift b/macos/Sources/App/macOS/AppDelegate.swift index 1aa27387e..f4dd9f1cb 100644 --- a/macos/Sources/App/macOS/AppDelegate.swift +++ b/macos/Sources/App/macOS/AppDelegate.swift @@ -17,7 +17,8 @@ class AppDelegate: NSObject, category: String(describing: AppDelegate.self) ) - /// Various menu items so that we can programmatically sync the keyboard shortcut with the Ghostty config. + /// Various menu items so that we can programmatically sync the keyboard shortcut with the Ghostty config + @IBOutlet private var menuServices: NSMenu? @IBOutlet private var menuCheckForUpdates: NSMenuItem? @IBOutlet private var menuOpenConfig: NSMenuItem? @IBOutlet private var menuReloadConfig: NSMenuItem? @@ -111,6 +112,7 @@ class AppDelegate: NSObject, // Register our service provider. This must happen after everything // else is initialized. NSApp.servicesProvider = ServiceProvider() + NSApp.servicesMenu = menuServices // Configure user notifications let actions = [ diff --git a/macos/Sources/App/macOS/MainMenu.xib b/macos/Sources/App/macOS/MainMenu.xib index 2e6041bed..ca9cd1f35 100644 --- a/macos/Sources/App/macOS/MainMenu.xib +++ b/macos/Sources/App/macOS/MainMenu.xib @@ -40,6 +40,7 @@ + @@ -76,6 +77,11 @@ + + + + +