From 47885bb51ee1888b3ac851097d2d3bef54c15a0a Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Wed, 14 Mar 2018 16:21:08 +0100 Subject: feat(Mac): Add dock bounce when new update is available --- src/stores/AppStore.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stores/AppStore.js') diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index d07576569..76c0222c9 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js @@ -98,6 +98,10 @@ export default class AppStore extends Store { ipcRenderer.on('autoUpdate', (event, data) => { if (data.available) { this.updateStatus = this.updateStatusTypes.AVAILABLE; + + if (isMac) { + app.dock.bounce(); + } } if (data.available !== undefined && !data.available) { -- cgit v1.2.3-70-g09d2