This commit is contained in:
parent
1c7abc115d
commit
c7962f1946
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ app.whenReady().then(() => {
|
|||
if ('win32' === process.platform || 'linux' === process.platform) {
|
||||
// 系统托盘
|
||||
tray = new Tray(path.join(appDir, 'stage', 'icon-large.png'))
|
||||
tray.setToolTip('SiYuan v' + appVer)
|
||||
tray.setToolTip(`${path.basename(data.workspaceDir)} - SiYuan v${appVer}`)
|
||||
const mainWindow = BrowserWindow.fromId(data.id)
|
||||
resetTrayMenu(tray, data.languages, mainWindow)
|
||||
tray.on('click', () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue