From fdff538588410206f967a7677eb58230e1974e25 Mon Sep 17 00:00:00 2001 From: Dmitriy Fuks Date: Tue, 15 Feb 2022 13:18:22 +0300 Subject: [PATCH] Add support Apple Silicon --- utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils.js b/utils.js index 07e0a26..3daa22c 100644 --- a/utils.js +++ b/utils.js @@ -88,6 +88,9 @@ module.exports = { } } else if (platform === 'darwin') { url += 'Mac'; + if (process.arch === 'arm64') { + url += '_Arm'; + } } else { throw new Error('Unsupported platform'); }