mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-06-26 10:00:23 +12:00
hotfix8
This commit is contained in:
parent
828b53a4b7
commit
e295a5ed22
|
@ -38,15 +38,6 @@ function createWindow () {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
mainWindow.webContents.on('did-frame-finish-load', () => {
|
|
||||||
mainWindow.webContents.once('devtools-opened', () => {
|
|
||||||
mainWindow.webContents.focus()
|
|
||||||
})
|
|
||||||
// open electron debug
|
|
||||||
console.log('Opening dev tools')
|
|
||||||
mainWindow.webContents.openDevTools()
|
|
||||||
})
|
|
||||||
|
|
||||||
mainWindow.setMenu(null)
|
mainWindow.setMenu(null)
|
||||||
mainWindow.maximize()
|
mainWindow.maximize()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue