From 14b27fb326f1e383789bbd1f224a08a267bfa80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Thu, 31 Jan 2019 00:15:58 +0800 Subject: [PATCH] fixed --- src/tools/windows.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/tools/windows.js b/src/tools/windows.js index 2b4f7e4..68472de 100644 --- a/src/tools/windows.js +++ b/src/tools/windows.js @@ -79,10 +79,7 @@ exports.createDesktopLrcWindow = function(screen) { hasShadow: false, thickFrame: false, transparent: true, - show: false, - webPreferences: { - devTools: false - } + show: false }) win.loadURL('app://local/desktop-lrc.html')