aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-03-14 16:21:08 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-03-14 16:21:08 +0100
commit47885bb51ee1888b3ac851097d2d3bef54c15a0a (patch)
treed4f9f4d4cc3c167af0787f2c05e733ae23e08f81 /src
parentFix issue with systemMute handler triggering too many IPC calls (diff)
downloadferdium-app-47885bb51ee1888b3ac851097d2d3bef54c15a0a.tar.gz
ferdium-app-47885bb51ee1888b3ac851097d2d3bef54c15a0a.tar.zst
ferdium-app-47885bb51ee1888b3ac851097d2d3bef54c15a0a.zip
feat(Mac): Add dock bounce when new update is available
Diffstat (limited to 'src')
-rw-r--r--src/stores/AppStore.js4
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) {