Permalink
Browse files

feat(Mac): Add dock bounce when new update is available

  • Loading branch information...
adlk committed Mar 14, 2018
1 parent 5a3daab commit 47885bb51ee1888b3ac851097d2d3bef54c15a0a
Showing with 4 additions and 0 deletions.
  1. +4 −0 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) {

0 comments on commit 47885bb

Please sign in to comment.