Update update notifications

This commit is contained in:
TheThomaas 2026-01-26 09:43:41 +01:00
parent b506d5dd56
commit 3033d87a88

View file

@ -99,7 +99,7 @@ autoUpdater.on("update-available", () => {
showNotification(`Update available. Current version ${app.getVersion()}`); showNotification(`Update available. Current version ${app.getVersion()}`);
let pth = autoUpdater.downloadUpdate(); let pth = autoUpdater.downloadUpdate();
console.log(pth); console.log(pth);
showNotification(pth); showNotification(`Download update path : ${pth}`);
}); });
autoUpdater.on("update-not-available", () => { autoUpdater.on("update-not-available", () => {
@ -115,5 +115,5 @@ autoUpdater.on("update-downloaded", () => {
autoUpdater.on("error", (info) => { autoUpdater.on("error", (info) => {
console.log(info); console.log(info);
showNotification(info); showNotification(`Error: ${info}`);
}); });