diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/AppStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index eca347153..2698749fc 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -164,7 +164,7 @@ export default class AppStore extends Store { | |||
164 | ipcRenderer.on('autoUpdate', (event, data) => { | 164 | ipcRenderer.on('autoUpdate', (event, data) => { |
165 | if (data.available) { | 165 | if (data.available) { |
166 | this.updateStatus = this.updateStatusTypes.AVAILABLE; | 166 | this.updateStatus = this.updateStatusTypes.AVAILABLE; |
167 | if (isMac) { | 167 | if (isMac && this.stores.settings.app.automaticUpdates) { |
168 | app.dock.bounce(); | 168 | app.dock.bounce(); |
169 | } | 169 | } |
170 | } | 170 | } |
@@ -175,7 +175,7 @@ export default class AppStore extends Store { | |||
175 | 175 | ||
176 | if (data.downloaded) { | 176 | if (data.downloaded) { |
177 | this.updateStatus = this.updateStatusTypes.DOWNLOADED; | 177 | this.updateStatus = this.updateStatusTypes.DOWNLOADED; |
178 | if (isMac) { | 178 | if (isMac && this.stores.settings.app.automaticUpdates) { |
179 | app.dock.bounce(); | 179 | app.dock.bounce(); |
180 | } | 180 | } |
181 | } | 181 | } |