Skip to content

Commit

Permalink
fix: adding darwin-universal to requireBinding list
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
tegefaulkes committed Mar 18, 2024
1 parent 42c2c33 commit 8a27e9d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
49 changes: 49 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,15 @@ switch (process.platform) {
'darwin-x64',
'darwin-x64+arm64',
'darwin-arm64+x64',
'darwin-universal',
]);
break;
case 'arm64':
nativeBinding = requireBinding([
'darwin-arm64',
'darwin-arm64+x64',
'darwin-x64+arm64',
'darwin-universal',
]);
break;
default:
Expand Down

0 comments on commit 8a27e9d

Please sign in to comment.