|
|
|
|
88
|
read_config_param "${app_name_upper}_DOMAIN_NAME"
|
88
|
read_config_param "${app_name_upper}_DOMAIN_NAME"
|
89
|
test_domain_name="${app_name_upper}_DOMAIN_NAME"
|
89
|
test_domain_name="${app_name_upper}_DOMAIN_NAME"
|
90
|
domain_name=${!test_domain_name}
|
90
|
domain_name=${!test_domain_name}
|
91
|
- if [[ "$domain_name" != "0" && "$app_name" != 'matrix' ]]; then
|
|
|
|
|
91
|
+ if [[ "$domain_name" && "$app_name" != 'matrix' ]]; then
|
92
|
{ echo ' {';
|
92
|
{ echo ' {';
|
93
|
echo " \"name\": \"${app_name}\",";
|
93
|
echo " \"name\": \"${app_name}\",";
|
94
|
echo " \"platforms\": [";
|
94
|
echo " \"platforms\": [";
|
|
|
|
|
99
|
fi
|
99
|
fi
|
100
|
|
100
|
|
101
|
if [ "$MOBILE_APP_URL" ]; then
|
101
|
if [ "$MOBILE_APP_URL" ]; then
|
102
|
- if [[ "$domain_name" != "0" && "$app_name" != 'matrix' ]]; then
|
|
|
|
|
102
|
+ if [[ "$domain_name" && "$app_name" != 'matrix' ]]; then
|
103
|
echo ',' >> "$plinth_api"
|
103
|
echo ',' >> "$plinth_api"
|
104
|
else
|
104
|
else
|
105
|
{ echo ' {';
|
105
|
{ echo ' {';
|