From 22f8aa84bc943327e21e611de8af04ca66443719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Wed, 12 Apr 2023 22:33:02 +0800 Subject: [PATCH] :bug: Fix: fix tray image after drag --- src/main/apis/app/system/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/apis/app/system/index.ts b/src/main/apis/app/system/index.ts index 31b7251..60d5d97 100644 --- a/src/main/apis/app/system/index.ts +++ b/src/main/apis/app/system/index.ts @@ -387,7 +387,7 @@ export function createTray () { }) tray.on('drag-end', () => { - tray!.setImage(`${__static}/menubar.png`) + tray!.setImage(getTrayIcon()) }) // drop-files only be supported in macOS