Show application window when checking of updates has happened

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne SavolainenandMikko Aspiala committed 2022-05-20 14:08:46 +03:00
1 parent 244f283998
commit b970e69165
2 files changed
+19 -2

No files matched your search

@@ -44,11 +44,11 @@ const checkForUpdatesTrayItemInjectable = getInjectable({
const { updateWasDiscovered } = await versionUpdate.checkForUpdates();
if (updateWasDiscovered) {
// Note: intentional orphan promise to make download happen in the background
versionUpdate.downloadUpdate();
}
// await showApplicationWindow();
await showApplicationWindow();
},
};
},