Skip to content

Commit

Permalink
Look for x64 version on arm64 windows (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Jan 2, 2024
1 parent 5d97b33 commit 4e43248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/compiler-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const compilerCommand = (() => {
// TODO: Make sure to remove "arm64" from "npm/win32-x64/package.json" when
// this logic is removed once we have true windows-arm64 support.
const arch =
platform === 'win32' && process.arch === 'arm64' ? 'x86' : process.arch;
platform === 'win32' && process.arch === 'arm64' ? 'x64' : process.arch;

// find for development
for (const path of ['vendor', '../../../lib/src/vendor']) {
Expand Down

0 comments on commit 4e43248

Please sign in to comment.