mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
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) {
|
if ('win32' === process.platform || 'linux' === process.platform) {
|
||||||
// 系统托盘
|
// 系统托盘
|
||||||
tray = new Tray(path.join(appDir, 'stage', 'icon-large.png'))
|
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)
|
const mainWindow = BrowserWindow.fromId(data.id)
|
||||||
resetTrayMenu(tray, data.languages, mainWindow)
|
resetTrayMenu(tray, data.languages, mainWindow)
|
||||||
tray.on('click', () => {
|
tray.on('click', () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue