From 685661f198d1741b9f35bd160b36315cf5c47080 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: Sun, 24 Apr 2022 19:02:57 +0800 Subject: [PATCH] chore: 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 6583225..4e63dc3 100644 --- a/packages/main/index.ts +++ b/packages/main/index.ts @@ -32,7 +32,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