This commit is contained in:
GeekCorner 2023-08-21 21:59:50 +02:00 committed by GitHub
commit c85eec3476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -48,7 +48,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)
} }
@ -210,4 +210,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'