File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ const i18n = require('./i18next.config');
1111const { getLogger } = require ( './wktLogging' ) ;
1212const errorUtils = require ( './errorUtils' ) ;
1313const { sendToWindow } = require ( './windowUtils' ) ;
14+ const osUtils = require ( './osUtils' ) ;
1415
1516let _isDevMode ;
1617let _downloadWindow ;
@@ -34,6 +35,11 @@ function registerAutoUpdateListeners() {
3435 autoUpdater . logger . info ( 'Download complete, install type: ' + _installType ) ;
3536 // quit and install in this handler so MacOS updater can process the event first
3637 if ( _installType === 'now' ) {
38+ // Working around https://github.com/electron-userland/electron-builder/issues/6418
39+ //
40+ if ( osUtils . isMac ( ) ) {
41+ autoUpdater . autoInstallOnAppQuit = false ;
42+ }
3743 autoUpdater . quitAndInstall ( ) ;
3844 }
3945 } ) ;
You can’t perform that action at this time.
0 commit comments