Add requirements to scripts/update_oauth_resources.sh

This commit is contained in:
Matthew Esposito 2023-12-28 15:38:31 -05:00
parent 9f41af6eee
commit c1214939ef
No known key found for this signature in database

View File

@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
# Requirements
# - curl
# - rg
# - jq
# Fetch iOS app versions # Fetch iOS app versions
ios_version_list=$(curl -s "https://ipaarchive.com/app/usa/1064216828" | rg "(20\d{2}\.\d+.\d+) / (\d+)" --only-matching -r "Version \$1/Build \$2" | sort | uniq) ios_version_list=$(curl -s "https://ipaarchive.com/app/usa/1064216828" | rg "(20\d{2}\.\d+.\d+) / (\d+)" --only-matching -r "Version \$1/Build \$2" | sort | uniq)