From 417ab071df6be1478187fe98245abf4a57098884 Mon Sep 17 00:00:00 2001 From: muwoo <2424880409@qq.com> Date: Thu, 13 Jan 2022 18:40:04 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20#80=20=E4=BF=AE=E5=A4=8D=20win=20depd?= =?UTF-8?q?=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/browsers/main.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/browsers/main.ts b/src/main/browsers/main.ts index 8fe167e..cb53322 100644 --- a/src/main/browsers/main.ts +++ b/src/main/browsers/main.ts @@ -34,9 +34,6 @@ export default () => { // Load the index.html when not in development win.loadURL("app://./index.html"); } - - win.webContents.openDevTools(); - protocol.interceptFileProtocol("image", (req, callback) => { const url = req.url.substr(8); callback(decodeURI(url));