u
This commit is contained in:
parent
1a48667ddd
commit
96e9325db1
@ -1299,13 +1299,12 @@ function populateSettingsUpdateInformation(data){
|
|||||||
console.log('LARGE: Data != null')
|
console.log('LARGE: Data != null')
|
||||||
|
|
||||||
if(process.platform === 'darwin'){
|
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, () => {
|
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)
|
shell.openExternal(data.darwindownload)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
settingsUpdateButtonStatus('Downloading..', true)
|
settingsUpdateButtonStatus('Downloading..', true)
|
||||||
console.log('LARGE: ELSE')
|
console.log('LARGE: DOWNLOADING')
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
settingsUpdateTitle.innerHTML = 'You Are Running the Latest Version'
|
settingsUpdateTitle.innerHTML = 'You Are Running the Latest Version'
|
||||||
|
@ -44,11 +44,11 @@ if(!isDev){
|
|||||||
break
|
break
|
||||||
case 'update-available':
|
case 'update-available':
|
||||||
loggerAutoUpdaterSuccess.log('New update available', info.version)
|
loggerAutoUpdaterSuccess.log('New update available', info.version)
|
||||||
console.log('Update available')
|
|
||||||
|
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
console.log('LARGE: Platform win32')
|
console.log('LARGE: Platform win32')
|
||||||
// Continue with HEliosLauncher as dir
|
// Continue with HEliosLauncher as dir
|
||||||
|
// TRY DOWNLOAD HERE
|
||||||
}
|
}
|
||||||
|
|
||||||
if(process.platform === 'darwin'){
|
if(process.platform === 'darwin'){
|
||||||
|
Loading…
Reference in New Issue
Block a user