mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
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();
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user