Send notification userInfo to app.ready, on macOS.
Check if the user launched the app from a notification and send the notification args across if so.
This commit is contained in:
parent
a37544cef4
commit
af9e010162
7 changed files with 20 additions and 10 deletions
|
@ -156,7 +156,8 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {
|
|||
#if !defined(OS_MACOSX)
|
||||
// The corresponding call in macOS is in AtomApplicationDelegate.
|
||||
Browser::Get()->WillFinishLaunching();
|
||||
Browser::Get()->DidFinishLaunching();
|
||||
base::DictionaryValue* empty_info = new base::DictionaryValue();
|
||||
Browser::Get()->DidFinishLaunching(empty_info);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue