0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

Add short name to Chrome app metadata for display in app launcher.

This commit is contained in:
Alexander Grüneberg 2014-12-10 17:15:55 -06:00
parent 05e53d2ed3
commit 7929d5475d

View File

@ -24,8 +24,8 @@ unzip -q cws/ankidroid.zip -d cws/unpacked
# Optimize image for CWS
cp $SOURCE_PATH/docs/marketing/chrome-web-store/icon.png cws/unpacked/
# Add description placeholder to manifest
echo "`jq '.description = "__MSG_extDesc__"' cws/unpacked/manifest.json`" > cws/unpacked/manifest.json
# Add short name and description placeholder to manifest
echo "`jq '.short_name = "AnkiDroid" | .description = "__MSG_extDesc__"' cws/unpacked/manifest.json`" > cws/unpacked/manifest.json
# Extract name and description from ankidroid-titles.txt and marketdescription-XY.txt and
# inject them into extName and extDesc of messages.json in _locales/XY