This commit is contained in:
DevLarge 2021-01-10 02:32:16 +01:00
parent 1a48667ddd
commit 96e9325db1
2 changed files with 2 additions and 3 deletions

View File

@ -1299,13 +1299,12 @@ function populateSettingsUpdateInformation(data){
console.log('LARGE: Data != null')
if(process.platform === 'darwin'){
console.log('LARGE: Darwin platform')
settingsUpdateButtonStatus('Download from GitHub<span style="font-size: 10px;color: gray;text-shadow: none !important;">Close the launcher and run the dmg to update.</span>', false, () => {
shell.openExternal(data.darwindownload)
})
} else {
settingsUpdateButtonStatus('Downloading..', true)
console.log('LARGE: ELSE')
console.log('LARGE: DOWNLOADING')
}
} else {
settingsUpdateTitle.innerHTML = 'You Are Running the Latest Version'

View File

@ -44,11 +44,11 @@ if(!isDev){
break
case 'update-available':
loggerAutoUpdaterSuccess.log('New update available', info.version)
console.log('Update available')
if (process.platform === 'win32') {
console.log('LARGE: Platform win32')
// Continue with HEliosLauncher as dir
// TRY DOWNLOAD HERE
}
if(process.platform === 'darwin'){