docs: fix the "second-instance" event handler signature in the docs (#15551)
This commit is contained in:
parent
1f5e0c42f3
commit
c422011d58
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ app.makeSingleInstance(function (argv, cwd) {
|
|||
})
|
||||
// Replace with
|
||||
app.requestSingleInstanceLock()
|
||||
app.on('second-instance', function (argv, cwd) {
|
||||
app.on('second-instance', function (event, argv, cwd) {
|
||||
|
||||
})
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue