From 3aa4363f5bc4e0251ecca70b96ba90b737f70140 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Thu, 25 Jul 2024 18:04:12 +0800 Subject: [PATCH] refactor: remove conditional devTools enabling --- src/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index dcfbc531d9..9e2680353d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -35,8 +35,8 @@ function createWindow() { webPreferences: { preload: join(__dirname, '../preload/index.js'), sandbox: false, - devTools: !app.isPackaged, webSecurity: false + // devTools: !app.isPackaged, } })