Windows: Reintroduce flash frame when we trigger a notification
This commit is contained in:
parent
e011589a5e
commit
5bd9964ed2
3 changed files with 13 additions and 0 deletions
6
main.js
6
main.js
|
@ -890,6 +890,12 @@ ipc.on('add-setup-menu-items', () => {
|
|||
});
|
||||
});
|
||||
|
||||
ipc.on('draw-attention', () => {
|
||||
if (process.platform === 'win32' && mainWindow) {
|
||||
mainWindow.flashFrame(true);
|
||||
}
|
||||
});
|
||||
|
||||
ipc.on('restart', () => {
|
||||
app.relaunch();
|
||||
app.quit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue