From 84c34e84ab3a859a63f0c2eeab5aa10735b501be Mon Sep 17 00:00:00 2001 From: GeekCorner <45696571+GeekCornerGH@users.noreply.github.com> Date: Wed, 18 May 2022 15:38:44 +0200 Subject: [PATCH 1/2] Update electron-builder.yml --- electron-builder.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index cd5d1ce..4ec71f6 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' From f551a064ce725e6c8362a687079a6c5a664ec160 Mon Sep 17 00:00:00 2001 From: GeekCorner <45696571+GeekCornerGH@users.noreply.github.com> Date: Wed, 18 May 2022 15:40:54 +0200 Subject: [PATCH 2/2] Update uicore.js --- app/assets/js/scripts/uicore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/js/scripts/uicore.js b/app/assets/js/scripts/uicore.js index 71a5aa1..31bf440 100644 --- a/app/assets/js/scripts/uicore.js +++ b/app/assets/js/scripts/uicore.js @@ -50,7 +50,7 @@ if(!isDev){ loggerAutoUpdaterSuccess.log('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) } @@ -212,4 +212,4 @@ document.addEventListener('keydown', function (e) { let window = remote.getCurrentWindow() window.toggleDevTools() } -}) \ No newline at end of file +})