Compare commits

...

3 Commits

Author SHA1 Message Date
GeekCorner
49b82784f9
Merge f551a064ce into 03dac9ed6d 2024-10-28 19:12:49 +01:00
GeekCorner
f551a064ce
Update uicore.js 2022-05-18 15:40:54 +02:00
GeekCorner
84c34e84ab
Update electron-builder.yml 2022-05-18 15:38:44 +02:00
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'