From: Sergi B Date: Mon, 26 Oct 2020 10:35:54 +0000 (+0100) Subject: Added account for packages that don't specify arch for macos X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=a2bb4dba6b81e126884dfdf7028719edea78b974;p=webi-installers%2F.git Added account for packages that don't specify arch for macos --- diff --git a/_webi/normalize.js b/_webi/normalize.js index 0e06bcb..07b08c7 100644 --- a/_webi/normalize.js +++ b/_webi/normalize.js @@ -80,7 +80,12 @@ function normalize(all) { rel.arch = arch; return true; } - })[0]; + }); + } + if (!rel.arch) { + if ('macos' === rel.os) { + rel.arch = 'amd64'; + } } supported.arches[rel.arch] = true;