Merge pull request #2 from johnmuhl/johnmuhl-patch-1

Replace deprecated use of `bw.openDevTools`
This commit is contained in:
Kevin Sawicki 2015-11-09 16:27:19 -08:00
commit 9a7571a64c
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() {