mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Implement naive notifications for version updates
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
52303b170b
commit
f939121ebf
8 files changed
+50
-4
No files matched your search
@@ -50,7 +50,7 @@ const checkForUpdatesTrayItemInjectable = getInjectable({
|
||||
const { updateWasDiscovered, version } = await versionUpdate.checkForUpdates();
|
||||
|
||||
if (updateWasDiscovered) {
|
||||
showNotification(`Downloading update ${version}...`);
|
||||
showNotification(`Download for version ${version} started...`);
|
||||
|
||||
// Note: intentional orphan promise to make download happen in the background
|
||||
versionUpdate.downloadUpdate().then(async () => {
|
||||
|
||||
Reference in new issue
Block a user