We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1461496 commit eeeeceeCopy full SHA for eeeecee
scripts/bin_path.js
@@ -8,9 +8,13 @@ var path = require("path");
8
* For compatibility reasons, if the architecture is x64, omit it from the bin directory name.
9
* So we'll have "darwin", "linux" and "win32" for x64 arch,
10
* but "darwinarm64" and "linuxarm64" for arm64 arch.
11
+ * Also, we do not have Windows ARM binaries yet. But the x64 binaries do work on Windows 11 ARM.
12
+ * So omit the architecture for Windows, too.
13
*/
14
var binDirName =
- process.arch === "x64" ? process.platform : process.platform + process.arch;
15
+ process.arch === "x64" || process.platform === "win32"
16
+ ? process.platform
17
+ : process.platform + process.arch;
18
19
/**
20
*
0 commit comments