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:
Janne SavolainenandMikko Aspiala committed 2022-05-20 14:08:50 +03:00
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 () => {