mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01: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:
parent
cb53e2eb70
commit
8491ae698d
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue