Skip to content

Commit

Permalink
feat(Mac): Add dock bounce when new update is available
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Mar 14, 2018
1 parent 5a3daab commit 47885bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/stores/AppStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 47885bb

Please sign in to comment.