mirror of
https://github.com/kiwix/kiwix-apple-custom.git
synced 2025-09-22 03:40:45 -04:00
Move about text as well
This commit is contained in:
parent
34c17c5f73
commit
cd9c993255
@ -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
|
@ -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."
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user