This commit is contained in:
GeekCorner 2024-11-30 23:27:47 +00:00 committed by GitHub
commit 88ccdd6cc5
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) loggerAutoUpdater.info('New update available', info.version)
if(process.platform === 'darwin'){ 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) showUpdateUI(info)
} }
@ -211,4 +211,4 @@ document.addEventListener('keydown', function (e) {
let window = remote.getCurrentWindow() let window = remote.getCurrentWindow()
window.toggleDevTools() window.toggleDevTools()
} }
}) })

View File

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