Replace deprecated use of `bw.openDevTools`@@ -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() {