Replace deprecated use of `bw.openDevTools`

This commit is contained in:
John Muhl 2015-10-20 17:20:57 -05:00
parent fcc251352b
commit 6cc15d5038
1 changed files with 1 additions and 1 deletions

View File

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