From 17c0a383afbb0e54ef9434abc6bd3e9f2d7efd68 Mon Sep 17 00:00:00 2001 From: dessant Date: Sat, 6 Feb 2021 14:21:13 +0200 Subject: [PATCH] fix: serve AMD64 client app installer for ARM macOS devices Closes #261. --- README.md | 2 +- src/utils/common.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f9a59b4..1b9da93 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/utils/common.js b/src/utils/common.js index d039901..f5e8903 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -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'; }