diff --git a/app/main/index.js b/app/main/index.js index 7e9f6a6c..e7d44991 100644 --- a/app/main/index.js +++ b/app/main/index.js @@ -218,6 +218,11 @@ app.on('ready', () => { if (process.platform === 'darwin') { app.setBadgeCount(messageCount); } + if (process.platform === 'win32') { + if (!mainWindow.isFocused()) { + mainWindow.flashFrame(true); + } + } page.send('tray', messageCount); });