From: AJ ONeal Date: Sun, 3 May 2020 10:52:48 +0000 (+0000) Subject: add default arch amd64 X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=a3fd85298aa7704041238bbaf6f9426fe5c47f68;p=webi-installers%2F.git add default arch amd64 --- diff --git a/pathman/releases.js b/pathman/releases.js index 26d23c2..be23f13 100644 --- a/pathman/releases.js +++ b/pathman/releases.js @@ -7,6 +7,12 @@ var baseurl = 'https://git.coolaj86.com'; module.exports = function (request) { return github(request, owner, repo, baseurl).then(function (all) { + all.releases.forEach(function (rel) { + // TODO name uploads with arch, duh + if (!rel.arch) { + rel.arch = 'amd64'; + } + }); return all; }); };