docs: clarify that 'second-instance' is only emitted when the second instance calls app.requestSingleInstanceLock()
(#18272)
This commit is contained in:
parent
e39c76bfe1
commit
1941a46825
1 changed files with 4 additions and 2 deletions
|
@ -404,8 +404,10 @@ Returns:
|
|||
* `workingDirectory` String - The second instance's working directory
|
||||
|
||||
This event will be emitted inside the primary instance of your application
|
||||
when a second instance has been executed. `argv` is an Array of the second instance's
|
||||
command line arguments, and `workingDirectory` is its current working directory. Usually
|
||||
when a second instance has been executed and calls `app.requestSingleInstanceLock()`.
|
||||
|
||||
`argv` is an Array of the second instance's command line arguments,
|
||||
and `workingDirectory` is its current working directory. Usually
|
||||
applications respond to this by making their primary window focused and
|
||||
non-minimized.
|
||||
|
||||
|
|
Loading…
Reference in a new issue