diff --git a/electron/app/app-updater.ts b/electron/app/app-updater.ts index 2d84fbca..dbfe8f71 100644 --- a/electron/app/app-updater.ts +++ b/electron/app/app-updater.ts @@ -32,9 +32,9 @@ export default class AppUpdater { }); }); - autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) => { + autoUpdater.on('update-downloaded', async (event, releaseNotes, releaseName) => { logger.debug('Update downloaded'); - const response = dialog.showMessageBoxSync({ + const { response } = await dialog.showMessageBox({ type: 'question', buttons: ['Update', 'Cancel'], defaultId: 0, diff --git a/electron/package.json b/electron/package.json index 6b3e9bc2..39c368ef 100644 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "tockler", - "version": "3.13.9", + "version": "3.13.10", "description": "Automatically track applications usage and working time", "author": "Maigo Erit ", "license": "GPL-2.0",