docs: Open devtools in the quick start example
This commit is contained in:
parent
427b9567ca
commit
71ee864d1d
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,9 @@ app.on('ready', function() {
|
|||
// and load the index.html of the app.
|
||||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||
|
||||
// Open the devtools.
|
||||
mainWindow.openDevTools();
|
||||
|
||||
// Emitted when the window is closed.
|
||||
mainWindow.on('closed', function() {
|
||||
// Dereference the window object, usually you would store windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue