From 0b53d6a35f067be8b2a9effd30fafd7cc5378fb9 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 21 Jan 2026 09:33:40 +0100 Subject: [PATCH] scripts/bundle_apps.sh : catch typos in manifestst --- scripts/bundle_apps.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/bundle_apps.sh b/scripts/bundle_apps.sh index 60f4671f..c42ac8ba 100755 --- a/scripts/bundle_apps.sh +++ b/scripts/bundle_apps.sh @@ -21,7 +21,7 @@ rm "$outputjson" # com.micropythonos.showbattery is just a test # com.micropythonos.doom_launcher isn't ready because the firmware doesn't have doom built-in yet # com.micropythonos.nostr isn't ready for release yet -blacklist="com.micropythonos.filemanager com.quasikili.quasidoodle com.micropythonos.errortest com.micropythonos.showbattery com.micropythonos.doom_launcher" +blacklist="com.micropythonos.filemanager com.quasikili.quasidoodle com.micropythonos.errortest com.micropythonos.showbattery com.micropythonos.doom_launcher com.micropythonos.nostr" echo "[" | tee -a "$outputjson" @@ -38,6 +38,11 @@ for apprepo in internal_filesystem/apps; do pushd "$apprepo"/"$appdir" manifest=META-INF/MANIFEST.JSON version=$( jq -r '.version' "$manifest" ) + result=$? + if [ $result -ne 0 ]; then + echo "Failed to parse $apprepo/$appdir/$manifest !" + exit 1 + fi cat "$manifest" | tee -a "$outputjson" echo -n "," | tee -a "$outputjson" thisappdir="$output"/apps/"$appdir"