From 1a3b075ad57f358ce61cd9c1564802ba60f8dc92 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 13 Mar 2023 20:18:09 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/7653 --- app/electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/electron/main.js b/app/electron/main.js index febb72e96..19a62513b 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -703,7 +703,7 @@ app.whenReady().then(() => { return true; } }); - if (tray && "win32" === process.platform) { + if (tray && ("win32" === process.platform || "linux" === process.platform)) { tray.destroy(); } if (workspaces.length === 0) {