Skip to content

Commit

Permalink
Replace deprecated use of bw.openDevTools
Browse files Browse the repository at this point in the history
  • Loading branch information
John Muhl committed Oct 20, 2015
1 parent fcc2513 commit 6cc15d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6cc15d5

Please sign in to comment.