Skip to content
Snippets Groups Projects
Commit 72830a82 authored by Bob Mottram's avatar Bob Mottram
Browse files

Not desirable, but have the option to specify apps from play

parent 9737d2cc
No related branches found
No related tags found
No related merge requests found
......@@ -113,10 +113,14 @@ function android_update_apps {
echo " \"name\": \"${app_name}\",";
echo " \"platforms\": ["; } >> "$plinth_api"
fi
store_name='f-droid'
if [[ "$MOBILE_APP_URL" == *'google'* ]]; then
store_name='google-play'
fi
{ echo ' {';
echo ' "type": "store",';
echo ' "os": "android",';
echo ' "store_name": "f-droid",';
echo " \"store_name\": \"$store_name\",";
echo " \"url\": \"$MOBILE_APP_URL\"";
echo ' }'; } >> "$plinth_api"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment