mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🐛 Tray menu text does not change with the appearance language Fix https://github.com/siyuan-note/siyuan/issues/7935
This commit is contained in:
@@ -721,6 +721,10 @@ app.whenReady().then(() => {
|
||||
ipcMain.on("siyuan-init", async (event, data) => {
|
||||
const exitWS = workspaces.find(item => {
|
||||
if (data.id === item.id && item.workspaceDir) {
|
||||
if (item.tray && "win32" === process.platform || "linux" === process.platform) {
|
||||
// Tray menu text does not change with the appearance language https://github.com/siyuan-note/siyuan/issues/7935
|
||||
resetTrayMenu(item.tray, data.languages, item.browserWindow);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user