Fix updater by changing artifact

This commit is contained in:
GeekCorner 2021-04-11 09:22:28 +02:00 committed by GitHub
parent 689df075c8
commit 000770f8c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ if(!isDev){
loggerAutoUpdaterSuccess.log('New update available', info.version)
if(process.platform === 'darwin'){
info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/helioslauncher-setup-${info.version}-${process.arch}.dmg`
info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/helioslauncher-setup-${info.version}${process.arch == "arm64" ? "-arm64" : ""}.dmg`
showUpdateUI(info)
}