polish: tray balloon title no longer repeats the app name
This commit is contained in:
1 parent
f63ee379a4
commit
c4fb6fe7e2
1 file changed
+4
-2
+4
-2
@@ -74,8 +74,10 @@ function hideToTray(win: BrowserWindow): void {
|
|||||||
balloonShown = true
|
balloonShown = true
|
||||||
tray.displayBalloon({
|
tray.displayBalloon({
|
||||||
iconType: 'info',
|
iconType: 'info',
|
||||||
title: 'OpenTerminal 仍在运行',
|
// The Windows toast already prints the app name as its header, so the
|
||||||
content: '已最小化到系统托盘,终端会话保持运行。点击托盘图标可恢复窗口。'
|
// balloon title carries the state only — no "OpenTerminal" twice.
|
||||||
|
title: '已最小化到托盘',
|
||||||
|
content: '终端会话仍在后台运行,点击托盘图标可恢复窗口。'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user