Fixing exception popup when auto update fails.

This commit is contained in:
Jeff Morgan 2014-12-06 15:16:15 -05:00
parent 2e7845d169
commit b746215980
1 changed files with 5 additions and 0 deletions

View File

@ -178,6 +178,11 @@ app.on('ready', function() {
mainWindow.webContents.send('notify', 'window:update-available');
});
autoUpdater.on('error', function (e) {
console.log('An error occured while checking for updates.');
console.log(e);
});
ipc.on('command', function (event, arg) {
console.log('Command: ' + arg);
if (arg === 'application:quit-install') {