diff --git a/electron/indicator.ts b/electron/indicator.ts index 5ad9cefde0..5d0ddc6343 100644 --- a/electron/indicator.ts +++ b/electron/indicator.ts @@ -146,7 +146,9 @@ function initListeners(): void { }); ipcMain.on(IPC.SET_PROGRESS_BAR, (ev: IpcMainEvent, { progress }) => { - setTrayIcon(tray, getRunningIconPath(progress)); + if (_isRunning) { + setTrayIcon(tray, getRunningIconPath(progress)); + } // Also update the context menu and tray title during the progress bar tick // This perfectly synchronizes the text "blinking" with the pie chart animation