fix: serve AMD64 client app installer for ARM macOS devices

Closes #261.
pull/321/head
dessant 3 years ago
parent 3cff118322
commit 17c0a383af

@ -54,7 +54,7 @@ by giving us easy access to solutions already utilized by automated systems.
## License
Copyright (c) 2018-2020 Armin Sebastian
Copyright (c) 2018-2021 Armin Sebastian
This software is released under the terms of the GNU General Public License v3.0.
See the [LICENSE](LICENSE) file for further information.

@ -34,7 +34,7 @@ async function getPlatform() {
if (arch === 'x86-32') {
arch = '386';
} else if (arch === 'x86-64') {
} else if (arch === 'x86-64' || (arch.startsWith('arm') && os === 'macos')) {
arch = 'amd64';
}

Loading…
Cancel
Save