From 298c1c18d0849f97a73fafab3ba3949c01b26cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Tue, 26 Apr 2022 08:40:05 +0800 Subject: [PATCH] remove webContents.openDevTools() --- packages/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/main/index.ts b/packages/main/index.ts index d382b75..fc416b8 100644 --- a/packages/main/index.ts +++ b/packages/main/index.ts @@ -33,7 +33,7 @@ async function createWindow() { const url = `http://${process.env['VITE_DEV_SERVER_HOST']}:${process.env['VITE_DEV_SERVER_PORT']}` win.loadURL(url) - win.webContents.openDevTools() + // win.webContents.openDevTools() } // Test active push message to Renderer-process