Merge pull request #3158 from ngoldman/patch-1

use webContents.openDevTools for quick start guide
This commit is contained in:
Cheng Zhao 2015-10-21 06:58:16 +08:00
commit b6859cab91

View file

@ -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() {