refactor: remove conditional devTools enabling

This commit is contained in:
kangfenmao 2024-07-25 18:04:12 +08:00
parent b91b0dd8e4
commit d7b8721848

View File

@ -35,8 +35,8 @@ function createWindow() {
webPreferences: {
preload: join(__dirname, '../preload/index.js'),
sandbox: false,
devTools: !app.isPackaged,
webSecurity: false
// devTools: !app.isPackaged,
}
})