Change formatting of autogenerated script
This commit is contained in:
parent
05f9d4f3bd
commit
878ef8e95e
@ -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)
|
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)
|
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 " \"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
|
done
|
||||||
|
|
||||||
# Close the array in the source file
|
# Close the array in the source file
|
||||||
@ -97,7 +97,7 @@ num=0
|
|||||||
echo "$table" | while IFS= read -r line; do
|
echo "$table" | while IFS= read -r line; do
|
||||||
num=$((num+1))
|
num=$((num+1))
|
||||||
echo " \"$line\"," >> "$filename"
|
echo " \"$line\"," >> "$filename"
|
||||||
echo -e "[$num/$ios_count] Fetched $line\e[0m"
|
echo -e "\e[34m[$num/$ios_count] Fetched $line\e[0m."
|
||||||
done
|
done
|
||||||
|
|
||||||
# Close the array in the source file
|
# Close the array in the source file
|
||||||
|
Loading…
Reference in New Issue
Block a user