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