aboutsummaryrefslogtreecommitdiff
path: root/commands/installable.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-12 22:05:23 +0100
committerMinteck <contact@minteck.org>2022-02-12 22:05:23 +0100
commit005261f22f163d13c44b8b41935da5a1231a4626 (patch)
tree75506966d644241cbd449d4f9d9fd5971a7b3c68 /commands/installable.js
parentaf144579a7e52e55643dde00ecf2fe2f6c0d6620 (diff)
downloadtwilight-005261f22f163d13c44b8b41935da5a1231a4626.tar.gz
twilight-005261f22f163d13c44b8b41935da5a1231a4626.tar.bz2
twilight-005261f22f163d13c44b8b41935da5a1231a4626.zip
Update
Diffstat (limited to 'commands/installable.js')
-rw-r--r--commands/installable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/installable.js b/commands/installable.js
index 6e76115..fc0f221 100644
--- a/commands/installable.js
+++ b/commands/installable.js
@@ -1,5 +1,5 @@
module.exports = async () => {
- let packages = JSON.parse(fs.readFileSync(home + "/repository/list.json").toString());
+ let packages = JSON.parse(fs.readFileSync(home + "/repository/list.json").toString()).sort();
let installed = JSON.parse(fs.readFileSync(home + "/installed.json").toString()).map(i => i.id);
let installs = JSON.parse(fs.readFileSync(home + "/installed.json").toString());