Fix macOS executable name.

This commit is contained in:
Daniel Scalzi 2022-02-15 17:45:47 -05:00
parent b092722488
commit ccf099a5cf
No known key found for this signature in database
GPG Key ID: D18EA3FB4B142A57
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ If you download from the [Releases](https://github.com/dscalzi/HeliosLauncher/re
| Platform | File | | Platform | File |
| -------- | ---- | | -------- | ---- |
| Windows x64 | `Helios-Launcher-setup-VERSION.exe` | | Windows x64 | `Helios-Launcher-setup-VERSION.exe` |
| macOS x64 | `Helios-Launcher-setup-VERSION.dmg` | | macOS x64 | `Helios-Launcher-setup-VERSION-x64.dmg` |
| macOS arm64 | `Helios-Launcher-setup-VERSION-arm64.dmg` | | macOS arm64 | `Helios-Launcher-setup-VERSION-arm64.dmg` |
| Linux x64 | `Helios-Launcher-setup-VERSION.AppImage` | | Linux x64 | `Helios-Launcher-setup-VERSION.AppImage` |

View File

@ -50,7 +50,7 @@ if(!isDev){
loggerAutoUpdaterSuccess.log('New update available', info.version) loggerAutoUpdaterSuccess.log('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}/helioslauncher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : ''}.dmg` info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/Helios-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg`
showUpdateUI(info) showUpdateUI(info)
} }