shorter update messages

This commit is contained in:
SPRINX0\prochazka
2024-09-10 09:08:30 +02:00
parent 52e774f2cc
commit f1ad4e190a

View File

@@ -486,7 +486,7 @@ autoUpdater.on('update-available', info => {
mainWindow.webContents.send('update-available', info.version); mainWindow.webContents.send('update-available', info.version);
changeAppUpdateStatus({ changeAppUpdateStatus({
icon: 'icon download', icon: 'icon download',
message: `New version ${info.version} available`, message: `Update available`,
}); });
} }
}); });
@@ -503,7 +503,7 @@ autoUpdater.on('update-downloaded', info => {
console.log('Update downloaded from', info); console.log('Update downloaded from', info);
changeAppUpdateStatus({ changeAppUpdateStatus({
icon: 'icon download', icon: 'icon download',
message: `Downloaded new version ${info.version}`, message: `Downloaded ${info.version}`,
}); });
mainWindow.webContents.send('downloaded-new-version', info.version); mainWindow.webContents.send('downloaded-new-version', info.version);
}); });