From c8c73747ad69f79389ede549b7dd73853f4feb51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Thu, 31 Jan 2019 20:09:35 +0800 Subject: [PATCH] update --- src/tools/windows.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/tools/windows.js b/src/tools/windows.js index 68472de..a4e75a9 100644 --- a/src/tools/windows.js +++ b/src/tools/windows.js @@ -73,11 +73,9 @@ exports.createDesktopLrcWindow = function(screen) { frame: false, resizable: false, alwaysOnTop: true, + skipTaskbar: true, x: (screen.size.width - 1024) / 2, y: screen.size.height - 100, - skipTaskbar: true, - hasShadow: false, - thickFrame: false, transparent: true, show: false }) @@ -97,13 +95,10 @@ exports.createMiniWindow = function(screen) { frame: false, resizable: false, alwaysOnTop: true, + skipTaskbar: true, x: screen.size.width - 320, y: 0, - skipTaskbar: true, - show: false, - webPreferences: { - devTools: false - } + show: false }) win.loadURL('app://local/mini-win.html')