Merge pull request #3158 from ngoldman/patch-1
use webContents.openDevTools for quick start guide
This commit is contained in:
commit
b6859cab91
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ app.on('ready', function() {
|
|||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||
|
||||
// Open the DevTools.
|
||||
mainWindow.openDevTools();
|
||||
mainWindow.webContents.openDevTools();
|
||||
|
||||
// Emitted when the window is closed.
|
||||
mainWindow.on('closed', function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue