diff --git a/docs/api/app.md b/docs/api/app.md index 0bfc137a214e..960bed3dc878 100755 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -130,6 +130,11 @@ set `NSPrincipalClass` to `AtomApplication`. You should call `event.preventDefault()` if you want to handle this event. +As with the `open-file` event, be sure to register a listener for the `open-url` +event early in your application startup to detect if the the application being +is being opened to handle a URL. If you register the listener in response to a +`ready` event, you'll miss URLs that trigger the launch of your application. + ### Event: 'activate' _macOS_ Returns: