Browse Source

Replace deprecated use of `bw.openDevTools`

main
John Muhl 10 years ago
parent
commit
6cc15d5038
  1. 2
      main.js

2
main.js

@ -27,7 +27,7 @@ app.on('ready', function() {
mainWindow.loadUrl('file://' + __dirname + '/index.html'); mainWindow.loadUrl('file://' + __dirname + '/index.html');
// Open the DevTools. // Open the DevTools.
mainWindow.openDevTools();
mainWindow.webContents.openDevTools();
// Emitted when the window is closed. // Emitted when the window is closed.
mainWindow.on('closed', function() { mainWindow.on('closed', function() {

Loading…
Cancel
Save