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

This commit is contained in:
Daniel Scalzi committed 2018-04-28 18:07:39 -04:00
1 parent 95afe5c63a
commit f1cf433ca8
4 files changed
+19 -3

No files matched your search

+4 -2
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: