From c52c2f097af0edfb5c30a939a897a31ecfa92fd4 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 12 Jul 2025 10:59:08 +0200 Subject: [PATCH] Scripts(android): add failsafe for assets --- scripts/prepareAndroid.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/prepareAndroid.sh b/scripts/prepareAndroid.sh index 74a0360310..ad1fb5e9fc 100755 --- a/scripts/prepareAndroid.sh +++ b/scripts/prepareAndroid.sh @@ -8,6 +8,12 @@ then npm run generate:layouts fi +if [ ! -f "needed_assets.csv" ] +then + echo "NEEDED ASSETS is missing!" + exit 1 +fi + if [ $? -ne 0 ] then echo "config.json file is invalid, exiting now"