mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-29 00:05:01 +08:00
Fix opening up Livebook Desktop via Spotlight (#1942)
This commit is contained in:
parent
826fcf2344
commit
6ba699fbf5
1 changed files with 2 additions and 1 deletions
|
@ -92,8 +92,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
ElixirKit.API.stop()
|
||||
}
|
||||
|
||||
func applicationDidBecomeActive(_ aNotification: Notification) {
|
||||
func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {
|
||||
ElixirKit.API.publish("open", "")
|
||||
return true
|
||||
}
|
||||
|
||||
func application(_ app: NSApplication, open urls: [URL]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue