diff options
author | 2018-03-14 16:21:08 +0100 | |
---|---|---|
committer | 2018-03-14 16:21:08 +0100 | |
commit | 47885bb51ee1888b3ac851097d2d3bef54c15a0a (patch) | |
tree | d4f9f4d4cc3c167af0787f2c05e733ae23e08f81 | |
parent | Fix issue with systemMute handler triggering too many IPC calls (diff) | |
download | ferdium-app-47885bb51ee1888b3ac851097d2d3bef54c15a0a.tar.gz ferdium-app-47885bb51ee1888b3ac851097d2d3bef54c15a0a.tar.zst ferdium-app-47885bb51ee1888b3ac851097d2d3bef54c15a0a.zip |
feat(Mac): Add dock bounce when new update is available
-rw-r--r-- | src/stores/AppStore.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 { | |||
98 | ipcRenderer.on('autoUpdate', (event, data) => { | 98 | ipcRenderer.on('autoUpdate', (event, data) => { |
99 | if (data.available) { | 99 | if (data.available) { |
100 | this.updateStatus = this.updateStatusTypes.AVAILABLE; | 100 | this.updateStatus = this.updateStatusTypes.AVAILABLE; |
101 | |||
102 | if (isMac) { | ||
103 | app.dock.bounce(); | ||
104 | } | ||
101 | } | 105 | } |
102 | 106 | ||
103 | if (data.available !== undefined && !data.available) { | 107 | if (data.available !== undefined && !data.available) { |