diff --git a/app/assets/js/scripts/uicore.js b/app/assets/js/scripts/uicore.js index 02e9b5d..511b609 100644 --- a/app/assets/js/scripts/uicore.js +++ b/app/assets/js/scripts/uicore.js @@ -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() } -}) \ No newline at end of file +}) diff --git a/electron-builder.yml b/electron-builder.yml index 43a49b8..c64001f 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -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' \ No newline at end of file + output: 'dist'