Skip to content

Commit

Permalink
🎨 #4567
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jan 5, 2023
1 parent 1c7abc1 commit c7962f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit c7962f1

Please sign in to comment.