diff --git a/package.json b/package.json index 3224f73..aa5e63d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "CodaBox-SyncTool", "productName": "CodaBox SyncTool Test 2", - "version": "0.3.40", + "version": "0.3.41", "description": "CodaBox desktop client", "main": ".webpack/main", "scripts": { diff --git a/src/main/main.js b/src/main/main.js index 18476bd..617c953 100644 --- a/src/main/main.js +++ b/src/main/main.js @@ -74,6 +74,7 @@ autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) => { dialog.showMessageBox(dialogOpts).then((returnValue) => { if (returnValue.response === 0) { log('Clicked the right button', 'test') + app.isQuiting = true autoUpdater.quitAndInstall() } })