Change formatting of autogenerated script

This commit is contained in:
Matthew Esposito 2023-12-28 17:36:45 -05:00
parent 05f9d4f3bd
commit 878ef8e95e
No known key found for this signature in database
2 changed files with 230 additions and 230 deletions

View File

@ -74,7 +74,7 @@ echo "$versions" | while IFS= read -r line; do
build=$(echo "$fetch_page" | rg "<span class=\"vercode\">\((\d+)\)</span>" --only-matching -r "\$1" | head -n1)
version=$(echo "$fetch_page" | rg "<span class=\"vername\">Reddit (20\d{2}\.\d+\.\d+)</span>" --only-matching -r "\$1" | head -n1)
echo " \"Version $version/Build $build\"," >> "$filename"
echo -e "[$num/$android_count] Fetched \e[32mVersion $version/Build $build\e[0m"
echo -e "[$num/$android_count] Fetched \e[32mVersion $version/Build $build\e[0m."
done
# Close the array in the source file
@ -97,7 +97,7 @@ num=0
echo "$table" | while IFS= read -r line; do
num=$((num+1))
echo " \"$line\"," >> "$filename"
echo -e "[$num/$ios_count] Fetched $line\e[0m"
echo -e "\e[34m[$num/$ios_count] Fetched $line\e[0m."
done
# Close the array in the source file