Skip to content

Commit

Permalink
Fix issue with Mac npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
changlinli committed Feb 8, 2024
1 parent 6533be0 commit 428cfe7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions installers/npm/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 428cfe7

Please sign in to comment.