From c65bec3e5ccfaa8cdd8a864a7f9b70aba9ddab1e Mon Sep 17 00:00:00 2001 From: kytwb Date: Fri, 24 Dec 2021 13:02:29 +0100 Subject: #2359 Disable available updates behaviour based on automaticUpdates --- src/stores/AppStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stores') 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 { ipcRenderer.on('autoUpdate', (event, data) => { if (data.available) { this.updateStatus = this.updateStatusTypes.AVAILABLE; - if (isMac) { + if (isMac && this.stores.settings.app.automaticUpdates) { app.dock.bounce(); } } @@ -175,7 +175,7 @@ export default class AppStore extends Store { if (data.downloaded) { this.updateStatus = this.updateStatusTypes.DOWNLOADED; - if (isMac) { + if (isMac && this.stores.settings.app.automaticUpdates) { app.dock.bounce(); } } -- cgit v1.2.3-70-g09d2