aboutsummaryrefslogtreecommitdiff
path: root/commands/installable.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-12 12:09:34 +0100
committerMinteck <contact@minteck.org>2022-02-12 12:09:34 +0100
commit38e7fbe2f99a5d0b6a69e54ab3af7ebf451e8f4f (patch)
tree33266f2ba82dd1e22fe85cf77bc0b559e3917af8 /commands/installable.js
parent01160246e4a0c0052181c72a53737e356ea7d02d (diff)
downloadtwilight-38e7fbe2f99a5d0b6a69e54ab3af7ebf451e8f4f.tar.gz
twilight-38e7fbe2f99a5d0b6a69e54ab3af7ebf451e8f4f.tar.bz2
twilight-38e7fbe2f99a5d0b6a69e54ab3af7ebf451e8f4f.zip
Update
Diffstat (limited to 'commands/installable.js')
-rw-r--r--commands/installable.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/commands/installable.js b/commands/installable.js
index ee4a0f0..6e76115 100644
--- a/commands/installable.js
+++ b/commands/installable.js
@@ -40,17 +40,17 @@ module.exports = async () => {
}
if (pack.platforms.windows === 2 && pack.platforms.linux === 2 && pack.platforms.mac === 2) {
- platforms[pack.id] = c.blue("all");
+ platforms[pack.id] = c.cyan("all");
} else if (pack.platforms.windows === 1 && pack.platforms.linux === 1 && pack.platforms.mac === 1) {
platforms[pack.id] = c.yellow("all");
} else {
platforms[pack.id] = "";
if (pack.platforms.windows === 1) { platforms[pack.id] += c.yellow("win32") + "," }
- if (pack.platforms.windows === 2) { platforms[pack.id] += c.blue("win32") + "," }
+ if (pack.platforms.windows === 2) { platforms[pack.id] += c.cyan("win32") + "," }
if (pack.platforms.linux === 1) { platforms[pack.id] += c.yellow("linux") + "," }
- if (pack.platforms.linux === 2) { platforms[pack.id] += c.blue("linux") + "," }
- if (pack.platforms.mac === 1) { platforms[pack.id] += c.yellow("darwin") + "," }
- if (pack.platforms.mac === 2) { platforms[pack.id] += c.blue("darwin") + "," }
+ 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 (platforms[pack.id].endsWith(",")) { platforms[pack.id] = platforms[pack.id].substring(0, platforms[pack.id].length - 1) }
}