From cd9c993255457e10f9224eed6f49aeb0a8ccdd52 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Thu, 14 Dec 2023 22:38:47 +0100 Subject: [PATCH] Move about text as well --- DWDS/DWDS.xcconfig | 6 +----- DWDS/info.json | 3 ++- build_project.zsh | 2 ++ 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/DWDS/DWDS.xcconfig b/DWDS/DWDS.xcconfig index 904a3f7..3311b8d 100644 --- a/DWDS/DWDS.xcconfig +++ b/DWDS/DWDS.xcconfig @@ -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 \ No newline at end of file diff --git a/DWDS/info.json b/DWDS/info.json index 62b7d18..021d216 100644 --- a/DWDS/info.json +++ b/DWDS/info.json @@ -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." } diff --git a/build_project.zsh b/build_project.zsh index 84ef65a..7a4f928 100644 --- a/build_project.zsh +++ b/build_project.zsh @@ -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