mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-06 11:35:54 +08:00
Make Livebook Desktop show up in Spotlight search (#1930)
This commit is contained in:
parent
705f122b75
commit
2f2c959c89
2 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
|||
<string>$(app_version)</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>AppIcon</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>Livebook</string>
|
||||
<key>LSUIElement</key>
|
||||
<true/>
|
||||
<key>LSRequiresNativeExecution</key>
|
||||
|
|
|
@ -92,6 +92,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
ElixirKit.API.stop()
|
||||
}
|
||||
|
||||
func applicationDidBecomeActive(_ aNotification: Notification) {
|
||||
ElixirKit.API.publish("open", "")
|
||||
}
|
||||
|
||||
func application(_ app: NSApplication, open urls: [URL]) {
|
||||
if !ElixirKit.API.isRunning {
|
||||
initialURLs = urls
|
||||
|
|
Loading…
Add table
Reference in a new issue