From 953749867b615a9982915c367b46a838d2613809 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Mon, 9 Sep 2024 11:46:17 +0800 Subject: [PATCH] =?UTF-8?q?f12=E5=BC=B9=E5=87=BA=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index f4e8306..ae5fb5e 100644 --- a/main.js +++ b/main.js @@ -141,11 +141,11 @@ app.on('ready', () => { } // 监听f12打开控制台 mainWindow.webContents.on('before-input-event', (event, input) => { - if (env === 'development') { + // if (env === 'development') { if (input.key === 'F12') { mainWindow.webContents.openDevTools() } - } + // } }); // 监听移动 mainWindow.on('move', () => {