From 6f93e535a77805105f88897952a6fcb70f0475d9 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Fri, 22 Oct 2021 11:40:33 +0100 Subject: [PATCH] build: use x64 for arch instead of x86_64 This appears to have been normalised to x64 previously but now outputs x86_64 which then means the folder name is invalid when looking it up during require --- bin/build-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-all.js b/bin/build-all.js index 11f1a4f..7eecd69 100644 --- a/bin/build-all.js +++ b/bin/build-all.js @@ -10,7 +10,7 @@ const path = require('path'); const pkgJson = require(path.resolve(__dirname + '/../package.json')); const targets = Object.keys(pkgJson.binary.targets); const nodePreGyp = path.resolve(__dirname, '..', 'node_modules/.bin/node-pre-gyp'); -const archs = ['x86_64', 'arm64']; +const archs = ['x64', 'arm64']; let actions = process.argv.slice(2); // pass in args for what to do let isPublish = false;