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:
00f34e0
)
Added account for packages that don't specify arch for macos
author
Sergi B
<bernausergi@gmail.com>
Mon, 26 Oct 2020 10:35:54 +0000
(11:35 +0100)
committer
Sergi B
<bernausergi@gmail.com>
Mon, 26 Oct 2020 10:35:54 +0000
(11:35 +0100)
_webi/normalize.js
patch
|
blob
|
history
diff --git
a/_webi/normalize.js
b/_webi/normalize.js
index 0e06bcba72f12f9e9143a32a6f0a3b98e8dd74c9..07b08c76e910512e2b1a156c2f41a2da21084efb 100644
(file)
--- 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;