docs: fix typo in open-url API docs (#39513)

* Fix typo in open-url API docs

* Update app.md
This commit is contained in:
Sergei Chestakov 2023-08-16 06:26:02 -04:00 коммит произвёл GitHub
Родитель 0c45d160d6
Коммит f7a7085019
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -128,9 +128,8 @@ Emitted when the user wants to open a URL with the application. Your application
set `NSPrincipalClass` to `AtomApplication`. set `NSPrincipalClass` to `AtomApplication`.
As with the `open-file` event, be sure to register a listener for the `open-url` 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 event early in your application startup to detect if the application is being opened to handle a URL.
is being opened to handle a URL. If you register the listener in response to a If you register the listener in response to a `ready` event, you'll miss URLs that trigger the launch of your application.
`ready` event, you'll miss URLs that trigger the launch of your application.
### Event: 'activate' _macOS_ ### Event: 'activate' _macOS_