Add links to Google search for Flathub apps list #2007

This commit is contained in:
Sergei Eremenko 2021-09-26 07:26:47 +03:00
parent d54918f3a7
commit d188372512
No known key found for this signature in database
GPG key ID: AB6D54C1C16D2507

View file

@ -77,8 +77,10 @@ while read -r app_id; do
[[ "${IGNORED_APPS[*]//$app_id/}" == "${IGNORED_APPS[*]}" ]] || continue
if [ -n "${MARKDOWN:-}" ]; then
# shellcheck disable=SC2016
printf ' - [ ] `%s` <kbd>[GitHub](%s)</kbd> <kbd>[Flathub](%s)</kbd>\n' "$app_id" \
"https://github.com/flathub/$app_id" "https://flathub.org/apps/details/$app_id"
printf ' - [ ] `%s` <kbd>[GitHub](%s)</kbd> <kbd>[Flathub](%s)</kbd> <kbd>[Google](%s)</kbd>\n' \
"$app_id" "https://github.com/flathub/$app_id" "https://flathub.org/apps/details/$app_id" \
"https://google.com/search?q=$app_id+source+code"
else
printf '%s\n' "$app_id"
fi