关闭devtools

pull/733/head
lyswhut 2021-12-04 01:45:28 +08:00
parent 162842415f
commit f732ea4dab
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ function createWindow() {
global.modules.mainWindow.loadURL(winURL + `?dt=${!!global.envParams.cmdParams.dt}&theme=${themes.find(t => t.id == global.appSetting.themeId)?.className ?? themes[0].className}`)
winEvent(global.modules.mainWindow)
global.modules.mainWindow.webContents.openDevTools()
// global.modules.mainWindow.webContents.openDevTools()
if (!isDev) autoUpdate()
}