refactor: remove conditional devTools enabling

This commit is contained in:
kangfenmao
2024-07-25 18:04:12 +08:00
parent 38ca4700b2
commit 3aa4363f5b
+1 -1
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,
}
})