docs: update description on second-instance event. (#23119)
* Update app.md more descriptions on second-instance event. * Update docs/api/app.md Co-Authored-By: loc <andy@slack-corp.com> Co-authored-by: Cheng Zhao <zcbenz@electronjs.org> Co-authored-by: loc <andy@slack-corp.com>
This commit is contained in:
parent
6ab317cc83
commit
e5fe81ac15
1 changed files with 2 additions and 0 deletions
|
@ -414,6 +414,8 @@ and `workingDirectory` is its current working directory. Usually
|
|||
applications respond to this by making their primary window focused and
|
||||
non-minimized.
|
||||
|
||||
**Note:** If the second instance is started by a different user than the first, the `argv` array will not include the arguments.
|
||||
|
||||
This event is guaranteed to be emitted after the `ready` event of `app`
|
||||
gets emitted.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue