pull/225/merge
GeekCorner 2024-03-10 17:42:59 +09:00 committed by GitHub
commit ebd3777de2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -49,7 +49,7 @@ if(!isDev){
loggerAutoUpdater.info('New update available', info.version)
if(process.platform === 'darwin'){
info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/Helios-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg`
info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/Helios-Launcher-setup.dmg`
showUpdateUI(info)
}
@ -211,4 +211,4 @@ document.addEventListener('keydown', function (e) {
let window = remote.getCurrentWindow()
window.toggleDevTools()
}
})
})

View File

@ -31,9 +31,8 @@ mac:
target:
- target: 'dmg'
arch:
- 'x64'
- 'arm64'
artifactName: '${productName}-setup-${version}-${arch}.${ext}'
- 'universal'
artifactName: '${productName}-setup-${version}.${ext}'
category: 'public.app-category.games'
# Linux Configuration
@ -48,4 +47,4 @@ linux:
directories:
buildResources: 'build'
output: 'dist'
output: 'dist'