From 3bfdcc68e667665973c605d37e4b2757c746edb0 Mon Sep 17 00:00:00 2001 From: Pavel Dmitirev Date: Sun, 1 May 2022 14:56:01 +0300 Subject: [PATCH] Update module.json structure --- pack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pack.sh b/pack.sh index 87e690d..eeb2540 100755 --- a/pack.sh +++ b/pack.sh @@ -12,7 +12,7 @@ if [ -f "src/module.json" ] then mod_name=`cat src/module.json | jq ".name" -r` mod_version=`cat src/module.json | jq ".version" -r` - mod_desc=`cat src/module.json | jq ".desc" -r` + mod_title=`cat src/module.json | jq ".title" -r` else echo "Moduleinfo read failed" exit 9 @@ -21,7 +21,7 @@ fi echo "{ \"name\":\"${mod_name}\", \"version\":\"${mod_version}\", - \"desc\":\"${mod_desc}\", + \"title\":\"${mod_title}\", \"hash\":\"${md5}\", } " > src/module.json