diff --git a/index.js b/index.js index 61feacf..41d3997 100644 --- a/index.js +++ b/index.js @@ -221,7 +221,7 @@ const open = async (target, options) => { }; function detectArchBinary(binary) { - if (typeof binary === 'string') { + if (typeof binary === 'string' || Array.isArray(binary)) { return binary; }