Skip to content

Commit 17e8d7f

Browse files
committed
re-enabling install on exit for MacOS
1 parent 0b167ad commit 17e8d7f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

electron/app/js/appUpdater.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ function initializeAutoUpdater(logger, isDevMode) {
2121
_isDevMode = isDevMode;
2222
autoUpdater.logger = logger;
2323
autoUpdater.autoDownload = false;
24-
// Turn this off on MacOS and on for other platforms.
25-
autoUpdater.autoInstallOnAppQuit = !osUtils.isMac();
24+
autoUpdater.autoInstallOnAppQuit = true;
2625
}
2726

2827
function registerAutoUpdateListeners() {

webui/src/js/viewModels/app-update-dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function(accUtils, ko, i18n, viewHelper) {
3131
this.releaseNotes = updateInfo.releaseNotes;
3232

3333
this.allowInstallOnExit = () => {
34-
return !window.api.process.isMac();
34+
return true;
3535
};
3636

3737
this.installNow = () => {

0 commit comments

Comments
 (0)