From 3f88701751535c5b379ed5c35d890e08bdb83d9b Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sat, 2 May 2020 11:53:03 +0800 Subject: [PATCH] =?UTF-8?q?win=E4=B8=8B=E7=9A=84=E6=89=98=E7=9B=98?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E4=BD=BF=E7=94=A8=E6=9B=B4=E5=A4=A7=E7=9A=84?= =?UTF-8?q?=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/modules/tray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/modules/tray.js b/src/main/modules/tray.js index 84084288..daebb48a 100644 --- a/src/main/modules/tray.js +++ b/src/main/modules/tray.js @@ -12,7 +12,7 @@ global.lx_event.tray.on(TRAY_EVENT_NAME.destroy, () => { const createTray = () => { if ((global.tray && !global.tray.isDestroyed()) || !global.appSetting.tray || !global.appSetting.tray.isShow) return - const iconPath = path.join(global.__static, 'images/tray', isWin ? 'trayTemplate.ico' : 'trayTemplate.png') + const iconPath = path.join(global.__static, 'images/tray', isWin ? 'trayTemplate@2x.ico' : 'trayTemplate.png') // 托盘 global.tray = new Tray(iconPath)