app.md - fix relaunch arg concat syntax

This commit is contained in:
Kiavash Page 2016-09-28 10:23:03 -07:00 committed by GitHub
parent c51982a231
commit d42e51e33a

View file

@ -351,7 +351,7 @@ line argument to the new instance:
```javascript
const {app} = require('electron')
app.relaunch({args: process.argv.slice(1) + ['--relaunch']})
app.relaunch({args: process.argv.slice(1).concat(['--relaunch'])})
app.exit(0)
```