aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-08-21 20:16:38 +0200
committer0neGal <mail@0negal.com>2023-08-21 20:17:22 +0200
commit890d246856c28e9a13d040b842d1511100ea5c84 (patch)
treed80286ac545059d5909deeb76437b6efa33f4d22
parentf21f17fc0c530b303160b18a5a76a9cb3b8ddbc6 (diff)
downloadViper-890d246856c28e9a13d040b842d1511100ea5c84.tar.gz
Viper-890d246856c28e9a13d040b842d1511100ea5c84.zip
properly detect outdated and up-to-date packages
-rw-r--r--src/modules/mods.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/mods.js b/src/modules/mods.js
index 78b1ab9..95b7e06 100644
--- a/src/modules/mods.js
+++ b/src/modules/mods.js
@@ -90,6 +90,7 @@ mods.list = () => {
if (obj.package) {
packaged_mods.push(obj.name);
obj.author = obj.package.author;
+ obj.version = obj.package.version;
}
obj.disabled = ! mods.modfile.get(obj.name);