win下的托盘图标使用更大的图片

pull/225/head
lyswhut 2020-05-02 11:53:03 +08:00
parent 7d89d53b1b
commit 3f88701751
1 changed files with 1 additions and 1 deletions

View File

@ -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)