[Fix] Header breaks at long title (#2015)

This commit is contained in:
CanbiZ 2025-02-04 13:32:13 +01:00 committed by GitHub
parent 78d96fdaa2
commit 6b225058de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ find ./ct -type f -name "*.sh" | sort | while read -r script; do
output_file="${headers_dir}/$(basename "${script%.*}")"
# Generate figlet output
figlet_output=$(figlet -f slant "$app_name")
figlet_output=$(figlet -f -w 500 slant "$app_name")
# Check if figlet output is not empty
if [[ -n "$figlet_output" ]]; then