If the user pressed Cmd + Q, or the developer calledĪpp.quit(), Electron will first try to close all the windows and then emit the If you do not subscribe to this event and all windows are closed, the defaultīehavior is to quit the app however, if you subscribe, you control whether theĪpp quits or not. Event: 'window-all-closed' Įmitted when all windows have been closed. To get a Promise that is fulfilled when Electron is initialized. ![]() ![]() You can also call app.isReady() to check if this event has already fired and app.whenReady() That was used to open the application, if it was launched from Notification Center. Or information from UNNotificationResponse Holds the userInfo of the NSUserNotification
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |