Change way to set app name and application id for android app

This commit is contained in:
M
2022-01-11 19:23:59 +02:00
parent 82c6c3ca8a
commit da170118a8
4 changed files with 22 additions and 2 deletions
+1
View File
@@ -5,6 +5,7 @@ if [ -z "$APP_ANDROID_TYPE" ]; then
exit 1
fi
./app_properties.sh
./app_icon.sh
CONFIG_ARGS=""
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
APP_PROPERTIES_PATH=./../../android/app.properties
if [ -z "$APP_ANDROID_TYPE" ]; then
echo "Please set APP_ANDROID_TYPE"
exit 1
fi
touch $APP_PROPERTIES_PATH
echo -e "id=${APP_ANDROID_BUNDLE_ID}\nname=${APP_ANDROID_NAME}" > $APP_PROPERTIES_PATH