Skip to content

Commit

Permalink
3.13.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Maigo Erit committed May 13, 2020
1 parent 56f7736 commit 5ba8621
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion electron/app/app-updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export default class AppUpdater {
if (!AppUpdater.dialogIsOpen) {
AppUpdater.dialogIsOpen = true;

const { response } = await dialog.showMessageBox(WindowManager.menubar.window(), {
if (!WindowManager.mainWindow) {
WindowManager.setMainWindow();
}

const { response } = await dialog.showMessageBox(WindowManager.mainWindow, {
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.17",
"version": "3.13.18",
"description": "Automatically track applications usage and working time",
"author": "Maigo Erit <[email protected]>",
"license": "GPL-2.0",
Expand Down

0 comments on commit 5ba8621

Please sign in to comment.