This commit is contained in:
Bob Mottram 2018-05-25 17:35:28 +01:00
parent 34079951ce
commit d99d46acd5
1 changed files with 5 additions and 5 deletions

View File

@ -81,9 +81,9 @@ function android_update_apps {
{ echo ' {'; { echo ' {';
echo " \"name\": \"${app_name}\","; echo " \"name\": \"${app_name}\",";
echo " \"short_description\": \"$((${app_name_upper}_SHORT_DESCRIPTION))\","; echo " \"short_description\": \""$((${app_name_upper}_SHORT_DESCRIPTION))"\",";
echo " \"description\": \"$((${app_name_upper}_DESCRIPTION))\","; echo " \"description\": \""$((${app_name_upper}_DESCRIPTION))"\",";
echo " \"icon_url\": \"$((${app_name_upper}_ICON_URL))\","; echo " \"icon_url\": \""$((${app_name_upper}_ICON_URL))"\",";
echo " \"clients\": ["; } >> "$plinth_api" echo " \"clients\": ["; } >> "$plinth_api"
if [[ $(("${app_name_upper}_DOMAIN_NAME")) && "$app_name" != 'matrix' ]]; then if [[ $(("${app_name_upper}_DOMAIN_NAME")) && "$app_name" != 'matrix' ]]; then
@ -92,7 +92,7 @@ function android_update_apps {
echo " \"platforms\": ["; echo " \"platforms\": [";
echo ' {'; echo ' {';
echo ' "type": "web",'; echo ' "type": "web",';
echo " \"url\": \"$((${app_name_upper}_DOMAIN_NAME))\""; echo " \"url\": \""$((${app_name_upper}_DOMAIN_NAME))"\"";
echo ' }'; echo ' }';
echo ' ]'; echo ' ]';
echo -n ' }'; } >> "$plinth_api" echo -n ' }'; } >> "$plinth_api"
@ -109,7 +109,7 @@ function android_update_apps {
echo ' "type": "store",'; echo ' "type": "store",';
echo ' "os": "android",'; echo ' "os": "android",';
echo ' "store_name": "f-droid",'; echo ' "store_name": "f-droid",';
echo " \"url\": \"$((${app_name_upper}_MOBILE_APP_URL))\""; echo " \"url\": \""$((${app_name_upper}_MOBILE_APP_URL))"\"";
echo ' }'; echo ' }';
echo ' ]'; echo ' ]';
echo -n ' }'; } >> "$plinth_api" echo -n ' }'; } >> "$plinth_api"