From 44b4222bc02f102480d1afe05d940612ff6cb983 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 27 Mar 2022 17:56:40 +0200 Subject: WIP Alicorn port (abandonned, To be removed) --- commands/installed.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'commands/installed.js') diff --git a/commands/installed.js b/commands/installed.js index c22e538..b1f048b 100644 --- a/commands/installed.js +++ b/commands/installed.js @@ -64,9 +64,9 @@ module.exports = async () => { signs[pack.id] = c.red("unsafe"); } - if (pack.platforms.windows === 2 && pack.platforms.linux === 2 && pack.platforms.mac === 2) { + if (pack.platforms.windows === 2 && pack.platforms.linux === 2 && pack.platforms.mac === 2 && pack.platforms.alicorn === 2) { platforms[pack.id] = c.cyan("all"); - } else if (pack.platforms.windows === 1 && pack.platforms.linux === 1 && pack.platforms.mac === 1) { + } else if (pack.platforms.windows === 1 && pack.platforms.linux === 1 && pack.platforms.mac === 1 && pack.platforms.alicorn === 1) { platforms[pack.id] = c.yellow("all"); } else { platforms[pack.id] = ""; @@ -76,6 +76,8 @@ module.exports = async () => { if (pack.platforms.linux === 2) { platforms[pack.id] += c.cyan("linux") + "," } if (pack.platforms.mac === 1) { platforms[pack.id] += c.yellow("macos") + "," } if (pack.platforms.mac === 2) { platforms[pack.id] += c.cyan("macos") + "," } + if (pack.platforms.alicorn === 1) { platforms[pack.id] += c.yellow("alicorn") + "," } + if (pack.platforms.alicorn === 2) { platforms[pack.id] += c.cyan("alicorn") + "," } if (platforms[pack.id].endsWith(",")) { platforms[pack.id] = platforms[pack.id].substring(0, platforms[pack.id].length - 1) } } -- cgit