From a3fd85298aa7704041238bbaf6f9426fe5c47f68 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 3 May 2020 10:52:48 +0000 Subject: [PATCH] add default arch amd64 --- pathman/releases.js | 6 ++++++ 1 file changed, 6 insertions(+) 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; }); }; -- 2.25.1