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');
11
11
const { getLogger } = require ( './wktLogging' ) ;
12
12
const errorUtils = require ( './errorUtils' ) ;
13
13
const { sendToWindow } = require ( './windowUtils' ) ;
14
+ const osUtils = require ( './osUtils' ) ;
14
15
15
16
let _isDevMode ;
16
17
let _downloadWindow ;
@@ -34,6 +35,11 @@ function registerAutoUpdateListeners() {
34
35
autoUpdater . logger . info ( 'Download complete, install type: ' + _installType ) ;
35
36
// quit and install in this handler so MacOS updater can process the event first
36
37
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
+ }
37
43
autoUpdater . quitAndInstall ( ) ;
38
44
}
39
45
} ) ;
You can’t perform that action at this time.
0 commit comments