From 428cfe7a1da865865da5dc5e7761d1629fd6e608 Mon Sep 17 00:00:00 2001 From: Changlin Li Date: Wed, 7 Feb 2024 18:34:02 -0800 Subject: [PATCH] Fix issue with Mac npm package --- installers/npm/binary.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/installers/npm/binary.js b/installers/npm/binary.js index 03e127f3..36aa4ea3 100644 --- a/installers/npm/binary.js +++ b/installers/npm/binary.js @@ -135,9 +135,5 @@ function missingSubPackageHelp(subPackageName) function findSubPackage(platform, arch) { var packagePrefix = '@zokka/zokka-binary-'; - if (platform === 'darwin') { - return packagePrefix + 'darwin_x64'; - } else { - return packagePrefix + process.platform + '_' + process.arch; - } + return packagePrefix + process.platform + '_' + process.arch; }