This commit is contained in:
DevLarge 2021-01-09 00:00:12 +01:00
parent c61d6ad2b8
commit 697429e73e
2 changed files with 9 additions and 7 deletions

View File

@ -1224,7 +1224,7 @@ function populateReleaseNotes(){
success: (data) => {
const version = 'v' + remote.app.getVersion()
const entries = $(data).find('entry')
console.debug('Found release notes ' + version)
console.log('LARGE: Found release notes ' + version)
for(let i=0; i<entries.length; i++){
const entry = $(entries[i])

View File

@ -43,16 +43,16 @@ if(!isDev){
case 'checking-for-update':
loggerAutoUpdater.log('Checking for update..')
settingsUpdateButtonStatus('Checking for Updates..', true)
console.debug('UiCore: checking-for-update')
console.log('LARGE: UiCore: checking-for-update')
break
case 'update-available':
loggerAutoUpdaterSuccess.log('New update available', info.version)
console.debug('Update available')
console.log('Update available')
if(process.platform === 'darwin'){
info.darwindownload = `https://github.com/DevLarge/StellarNetworkLauncherUtil/releases/download/v${info.version}/Stellar.Network.Launcher-setup-${info.version}.exe`
showUpdateUI(info)
console.debug('UICORE found info with version ' + info.version)
console.log('LARGE: UICORE found info with version ' + info.version)
}
populateSettingsUpdateInformation(info)
@ -65,18 +65,20 @@ if(!isDev){
}
})
showUpdateUI(info)
console.log('LARGE: Update download')
break
case 'update-not-available':
loggerAutoUpdater.log('No new update found.')
settingsUpdateButtonStatus('Check for Updates')
console.debug('No new update found')
console.log('LARGE: No new update found')
break
case 'ready':
updateCheckListener = setInterval(() => {
ipcRenderer.send('autoUpdateAction', 'checkForUpdate')
}, 1800000)
ipcRenderer.send('autoUpdateAction', 'checkForUpdate')
console.debug('ready')
console.log('LARGE: ready')
break
case 'realerror':
if(info != null && info.code != null){
@ -88,7 +90,7 @@ if(!isDev){
loggerAutoUpdater.error('Error during update check..', info)
loggerAutoUpdater.debug('Error Code:', info.code)
}
console.debug('REALERROR')
console.log('LARGE: REALERROR')
}
break
default: