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:
parent
05e53d2ed3
commit
7929d5475d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user