添加debug启动参数
parent
a9f9c887b5
commit
9528b10d01
|
@ -30,6 +30,7 @@ module.exports = mainWindow => {
|
|||
mainWindow.once('ready-to-show', () => {
|
||||
mainWindow.show()
|
||||
global.lx_event.mainWindow.readyToShow()
|
||||
if (global.envParams.cmdParams.debug) global.modules.mainWindow.webContents.openDevTools()
|
||||
})
|
||||
|
||||
mainWindow.on('show', () => {
|
||||
|
|
Loading…
Reference in New Issue