Skip to content

Commit

Permalink
Correct build for previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Brown committed Mar 14, 2024
1 parent f395432 commit 3c22a96
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,14 @@ function build(runtime, version, abi) {

if (/^electron/i.test(runtime)) {
args.push('--dist-url=https://electronjs.org/headers');
// TODO: for electron 26 on macOS arm64?
}

// Fix build electron 26 on macOS arm64?
if (
/^electron/i.test(runtime) &&
version === '26.0.0' &&
arch === 'arm64'
) {
args.push('--v8_enable_pointer_compression=1');
}

Expand Down

0 comments on commit 3c22a96

Please sign in to comment.