Not desirable, but have the option to specify apps from play
This commit is contained in:
parent
9737d2cc45
commit
72830a82af
|
@ -113,10 +113,14 @@ function android_update_apps {
|
||||||
echo " \"name\": \"${app_name}\",";
|
echo " \"name\": \"${app_name}\",";
|
||||||
echo " \"platforms\": ["; } >> "$plinth_api"
|
echo " \"platforms\": ["; } >> "$plinth_api"
|
||||||
fi
|
fi
|
||||||
|
store_name='f-droid'
|
||||||
|
if [[ "$MOBILE_APP_URL" == *'google'* ]]; then
|
||||||
|
store_name='google-play'
|
||||||
|
fi
|
||||||
{ echo ' {';
|
{ echo ' {';
|
||||||
echo ' "type": "store",';
|
echo ' "type": "store",';
|
||||||
echo ' "os": "android",';
|
echo ' "os": "android",';
|
||||||
echo ' "store_name": "f-droid",';
|
echo " \"store_name\": \"$store_name\",";
|
||||||
echo " \"url\": \"$MOBILE_APP_URL\"";
|
echo " \"url\": \"$MOBILE_APP_URL\"";
|
||||||
echo ' }'; } >> "$plinth_api"
|
echo ' }'; } >> "$plinth_api"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue