From 3193d7e99b654d623a2ee6ec3ced0a1b78b04a81 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Tue, 26 Oct 2021 17:06:01 -0700 Subject: [PATCH] docs: link to Apple developer docs for `app.ready` event (#31583) Changes some links around. There was no link for `NSUserNotification`, and `UNNotificationResponse` incorrectly linked to our own `NotificationResponse` API structure doc. --- docs/api/app.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/app.md b/docs/api/app.md index 005ab2fe9475..d75255301fb6 100755 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -36,10 +36,10 @@ Returns: * `launchInfo` Record | [NotificationResponse](structures/notification-response.md) _macOS_ Emitted once, when Electron has finished initializing. On macOS, `launchInfo` -holds the `userInfo` of the `NSUserNotification` or information from -[`UNNotificationResponse`](structures/notification-response.md) that was used to open the -application, if it was launched from Notification Center. You can also call -`app.isReady()` to check if this event has already fired and `app.whenReady()` +holds the `userInfo` of the [`NSUserNotification`](https://developer.apple.com/documentation/foundation/nsusernotification) +or information from [`UNNotificationResponse`](https://developer.apple.com/documentation/usernotifications/unnotificationresponse) +that was used to open the application, if it was launched from Notification Center. +You can also call `app.isReady()` to check if this event has already fired and `app.whenReady()` to get a Promise that is fulfilled when Electron is initialized. ### Event: 'window-all-closed'