Merge pull request #2 from johnmuhl/johnmuhl-patch-1
Replace deprecated use of `bw.openDevTools`
This commit is contained in:
commit
9a7571a64c
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…
Reference in New Issue