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 (#15548)
This commit is contained in:
@@ -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) {
|
||||
|
||||
})
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user