docs: Remove unnecessary shows
This commit is contained in:
parent
6b408de884
commit
88c4fd3f2b
1 changed files with 1 additions and 3 deletions
|
@ -1126,10 +1126,8 @@ let devtools = null
|
|||
|
||||
app.once('ready', () => {
|
||||
win = new BrowserWindow()
|
||||
devtools = new BrowserWindow()
|
||||
win.loadURL('https://github.com')
|
||||
win.show()
|
||||
devtools = new BrowserWindow({show: false})
|
||||
devtools.show()
|
||||
win.webContents.setDevToolsWebContents(devtools.webContents)
|
||||
win.webContents.openDevTools({mode: 'detach'})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue