|
@@ -88,6 +88,13 @@ function android_update_apps {
|
88
|
88
|
read_config_param "${app_name_upper}_DOMAIN_NAME"
|
89
|
89
|
test_domain_name="${app_name_upper}_DOMAIN_NAME"
|
90
|
90
|
domain_name=${!test_domain_name}
|
|
91
|
+ if [ "$domain_name" ]; then
|
|
92
|
+ if [[ "$domain_name" != *'.onion' ]]; then
|
|
93
|
+ domain_name="https://${!test_domain_name}"
|
|
94
|
+ else
|
|
95
|
+ domain_name="http://${!test_domain_name}"
|
|
96
|
+ fi
|
|
97
|
+ fi
|
91
|
98
|
if [[ "$domain_name" && "$app_name" != 'matrix' ]]; then
|
92
|
99
|
{ echo ' {';
|
93
|
100
|
echo " \"name\": \"${app_name}\",";
|