Skip to content

Commit

Permalink
Merge pull request #425 from RocketChat/bugfix/update-quit
Browse files Browse the repository at this point in the history
Make sure app quits on mac on update
  • Loading branch information
engelgabriel authored Apr 26, 2017
2 parents d43e2f3 + 90243ed commit 2e51982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/background/autoUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function updateDownloaded () {
});
} else {
autoUpdater.quitAndInstall();
setTimeout(() => app.quit(), 1000);
}
});
}
Expand Down

0 comments on commit 2e51982

Please sign in to comment.