Skip to content

Commit e5fe81a

Browse files
diegozhuzcbenzloc
authored
docs: update description on second-instance event. (electron#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>
1 parent 6ab317c commit e5fe81a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/api/app.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,8 @@ and `workingDirectory` is its current working directory. Usually
414414
applications respond to this by making their primary window focused and
415415
non-minimized.
416416

417+
**Note:** If the second instance is started by a different user than the first, the `argv` array will not include the arguments.
418+
417419
This event is guaranteed to be emitted after the `ready` event of `app`
418420
gets emitted.
419421

0 commit comments

Comments
 (0)