projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
661b61d
)
also match 'os-x', 'os_x', and 'os x' as 'macos'
author
AJ ONeal
<coolaj86@gmail.com>
Tue, 30 Jun 2020 17:19:28 +0000
(11:19 -0600)
committer
AJ ONeal
<coolaj86@gmail.com>
Tue, 30 Jun 2020 17:19:55 +0000
(11:19 -0600)
_webi/normalize.js
patch
|
blob
|
history
diff --git
a/_webi/normalize.js
b/_webi/normalize.js
index 5672bca8a42dda202396e6c642d538e6803e210a..df34ad2cd5aec75d469023ffb6243485be8b5fba 100644
(file)
--- 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,