Fixed issue where extraction library could not be run from asar.

This commit is contained in:
Daniel Scalzi
2018-04-28 18:07:39 -04:00
parent 95afe5c63a
commit f1cf433ca8
4 changed files with 19 additions and 3 deletions

View File

@@ -50,8 +50,10 @@ if(!isDev){
case 'error':
console.log('Error during update check..')
console.debug('Error Code:', info != null ? info.code : null)
if(err.code === 'ERR_UPDATER_INVALID_RELEASE_FEED'){
console.log('No suitable releases found.')
if(err != null && err.code != null){
if(err.code === 'ERR_UPDATER_INVALID_RELEASE_FEED'){
console.log('No suitable releases found.')
}
}
break
default: