From c1840d78e0c550cee69c0fe16d5d3909044d8aef Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Mon, 6 Aug 2018 12:06:22 -0700 Subject: [PATCH] Add appveyor support --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9e5b459..93cd0f7 100755 --- a/index.js +++ b/index.js @@ -48,7 +48,7 @@ async function buildArchPackage(os, cpu, version, pre) { debug("building architecture specific package", os, cpu, version, pre) const platform = os == 'win' ? 'win32' : os - const arch = os == 'win' && cpu == 'ia32' ? 'x86' : cpu + const arch = os == 'win' && cpu == 'ia32' ? ['x86', 'ia32'] : cpu const executable = os == 'win' ? 'bin/node.exe' : 'bin/node' const dir = "node-" + os + '-' + cpu