mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: fix the "second-instance" event handler signature in the docs (#15546)
This commit is contained in:
committed by
Samuel Attard
parent
b2822ed800
commit
08ec270b90
@@ -20,7 +20,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) {
|
||||
|
||||
})
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user