Update dialog.md
Clarification of showErrorBox behavior on Linux if called before app `ready` event.
This commit is contained in:
parent
d223faa9f4
commit
aa98720356
1 changed files with 2 additions and 1 deletions
|
@ -114,4 +114,5 @@ will be passed via `callback(response)`.
|
||||||
Displays a modal dialog that shows an error message.
|
Displays a modal dialog that shows an error message.
|
||||||
|
|
||||||
This API can be called safely before the `ready` event the `app` module emits,
|
This API can be called safely before the `ready` event the `app` module emits,
|
||||||
it is usually used to report errors in early stage of startup.
|
it is usually used to report errors in early stage of startup. If called before the app `ready`
|
||||||
|
+event on Linux, the message will be emitted to stderr, and no GUI dialog will appear.
|
||||||
|
|
Loading…
Reference in a new issue