Skip to content

Commit

Permalink
3.13.10 Don't use sync messageBox. We want to continue app logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maigo Erit committed Mar 15, 2020
1 parent 3cdb235 commit 56a9794
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions electron/app/app-updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "GPL-2.0",
Expand Down

0 comments on commit 56a9794

Please sign in to comment.