From: AJ ONeal Date: Mon, 6 Jul 2020 15:31:08 +0000 (+0000) Subject: match on 64*bit and 32*bit X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=debcee7e199579466159d9e4fc3b0038ae5f0d20;p=webi-installers%2F.git match on 64*bit and 32*bit --- diff --git a/_webi/normalize.js b/_webi/normalize.js index 8e157ab..06c1cee 100644 --- a/_webi/normalize.js +++ b/_webi/normalize.js @@ -39,9 +39,9 @@ var arches = [ ]; var archMap = { //amd64: /(amd.?64|x64|[_\-]64)/i, - amd64: /(\b|_|amd|(dar)?win(dows)?|mac(os)?|linux|osx|x)64(\b|_)/i, + amd64: /(\b|_|amd|(dar)?win(dows)?|mac(os)?|linux|osx|x)64([_\-]?bit)?(\b|_)/i, //x86: /(86)(\b|_)/i, - x86: /(\b|_|amd|(dar)?win(dows)?|mac(os)?|linux|osx|x)(86|32)(\b|_)/i, + x86: /(\b|_|amd|(dar)?win(dows)?|mac(os)?|linux|osx|x)(86|32)([_\-]?bit)(\b|_)/i, ppc64le: /(\b|_)(ppc64le)/i, ppc64: /(\b|_)(ppc64)(\b|_)/i, arm64: /(\b|_)((aarch|arm)64|arm)/i,