Commit 8a1354db authored by Andrew Cohen's avatar Andrew Cohen

autoupdate messages

parent 2b7d7b82
......@@ -25,12 +25,12 @@ autoUpdater.on('update-available', (ev, info) => {
})
autoUpdater.on('update-not-available', (ev, info) => {
sendStatusToWindow('no update available.');
sendStatusToWindow('no update available');
})
autoUpdater.on('error', (ev, err) => {
log.error(err);
sendStatusToWindow('update check failed');
sendStatusToWindow('update error');
})
autoUpdater.on('download-progress', (ev, progressObj) => {
......@@ -38,7 +38,7 @@ autoUpdater.on('download-progress', (ev, progressObj) => {
})
autoUpdater.on('update-downloaded', (ev, info) => {
sendStatusToWindow('downloaded');
sendStatusToWindow('downloaded - installing');
});
autoUpdater.on('update-downloaded', (ev, info) => {
......
......@@ -69,6 +69,9 @@ function processUpdateEvent(event,text)
var updateBar=document.getElementById('updateBar');
updateBar.style.display="inline";
if ( (text==='checking for updates') || (text==='no update available') || (text==='update error'))
return;
if (text==='progress') {
if (processIndicator.length>10)
processIndicator='.';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment