From: AJ ONeal Date: Tue, 30 Jun 2020 17:19:28 +0000 (-0600) Subject: also match 'os-x', 'os_x', and 'os x' as 'macos' X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=7f26649ebc86ec36da2d0e2de3517a92d1a71c4e;p=webi-installers%2F.git also match 'os-x', 'os_x', and 'os x' as 'macos' --- diff --git a/_webi/normalize.js b/_webi/normalize.js index 5672bca..df34ad2 100644 --- a/_webi/normalize.js +++ b/_webi/normalize.js @@ -2,7 +2,7 @@ // this may need customizations between packages var osMap = { - macos: /(\b|_)(apple|os\s?x\b|mac|darwin|iPhone|iOS|iPad)/i, + macos: /(\b|_)(apple|os(\s_-)?x\b|mac|darwin|iPhone|iOS|iPad)/i, linux: /(\b|_)(linux)/i, freebsd: /(\b|_)(freebsd)/i, windows: /(\b|_)(win|microsoft|msft)/i,