生产模式不打开开发者工具
This commit is contained in:
@@ -19,7 +19,6 @@ function createWindow(page: string, display: any) {
|
||||
win.webContents.openDevTools()
|
||||
} else {
|
||||
win.loadFile(`dist/render/${page}.html`)
|
||||
win.webContents.openDevTools()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user