From c4fb6fe7e2229ec3345385ea9998a26aae24ba9a Mon Sep 17 00:00:00 2001 From: Bill Date: Mon, 14 Sep 2026 01:19:14 +0800 Subject: [PATCH] polish: tray balloon title no longer repeats the app name --- src/main/tray.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/tray.ts b/src/main/tray.ts index ab0b7a5..7786d90 100644 --- a/src/main/tray.ts +++ b/src/main/tray.ts @@ -74,8 +74,10 @@ function hideToTray(win: BrowserWindow): void { balloonShown = true tray.displayBalloon({ iconType: 'info', - title: 'OpenTerminal 仍在运行', - content: '已最小化到系统托盘,终端会话保持运行。点击托盘图标可恢复窗口。' + // The Windows toast already prints the app name as its header, so the + // balloon title carries the state only — no "OpenTerminal" twice. + title: '已最小化到托盘', + content: '终端会话仍在后台运行,点击托盘图标可恢复窗口。' }) } }