This commit is contained in:
Vanessa 2023-03-13 20:18:09 +08:00
parent efda061928
commit 1a3b075ad5

View file

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