Move about text as well

This commit is contained in:
Balazs Perlaki-Horvath 2023-12-14 22:38:47 +01:00
parent 34c17c5f73
commit cd9c993255
3 changed files with 5 additions and 6 deletions

View File

@ -1,10 +1,6 @@
// Copyright © 2023 Kiwix. All rights reserved.
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
SETTINGS_DEFAULT_EXTERNAL_LINK_TO = alwaysLoad
SETTINGS_SHOW_EXTERNAL_LINK_OPTION = false
APP_STORE_ID = id6473090365
SETTINGS_SHOW_SEARCH_SNIPPET = false
CUSTOM_ABOUT_TEXT = Für Schreibende, Lernende, Lehrende und Sprachinteressierte: Das Digitale Wörterbuch der deutschen Sprache (DWDS) ist das große Bedeutungswörterbuch des Deutschen der Gegenwart. Es bietet umfassende und wissenschaftlich verlässliche lexikalische Informationen, kostenlos und werbefrei.
// CUSTOM_ABOUT_WEBSITE = www.dwds.de
SETTINGS_SHOW_SEARCH_SNIPPET = false

View File

@ -3,5 +3,6 @@
"zim_url": "https://www.dwds.de/kiwix/f/dwds_de_dictionary_nopic_2023-11-20.zim",
"zim_auth": "DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION",
"enforced_lang": "de",
"about_app_url": "www.dwds.de"
"about_app_url": "www.dwds.de",
"about_text": "Für Schreibende, Lernende, Lehrende und Sprachinteressierte: Das Digitale Wörterbuch der deutschen Sprache (DWDS) ist das große Bedeutungswörterbuch des Deutschen der Gegenwart. Es bietet umfassende und wissenschaftlich verlässliche lexikalische Informationen, kostenlos und werbefrei."
}

View File

@ -20,6 +20,7 @@ do
url=`jq .zim_url -r $info`
auth=`jq .zim_auth -r $info`
about_url=`jq .about_app_url -r $info`
about_text=`jq .about_text -r $info`
parent_url=${url%/*}
file_name=${url:${#parent_url} + 1} # + 1 to remove the trailing slash
@ -28,6 +29,7 @@ do
curl -O -L $url -u "$auth_value" $parent_dir/$file_name
echo "CUSTOM_ZIM_FILE = "${file_name%.zim}"\n" > apple/$brand_name/$brand_name.xcconfig
echo "CUSTOM_ABOUT_WEBSITE = "${about_url}"\n" > apple/$brand_name/$brand_name.xcconfig
echo "CUSTOM_ABOUT_TEXT = "${about_text}"\n" > apple/$brand_name/$brand_name.xcconfig
done
# download libkiwix xcframework