mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 16:17:40 +00:00
+Youtube for Android 6 & 7
This commit is contained in:
@@ -22,6 +22,30 @@ dl_gh1() {
|
||||
done
|
||||
echo "All assets downloaded"
|
||||
}
|
||||
dl_gh2() {
|
||||
for repo in revanced-patches-android6-7 revanced-integrations ; do
|
||||
asset_urls=$(wget -qO- "https://api.github.com/repos/$1/$repo/releases/latest" \
|
||||
| jq -r '.assets[] | "\(.browser_download_url) \(.name)"')
|
||||
while read -r url names
|
||||
do
|
||||
echo "Downloading $names from $url"
|
||||
wget -q -O "$names" $url
|
||||
done <<< "$asset_urls"
|
||||
done
|
||||
echo "All assets downloaded"
|
||||
}
|
||||
dl_gh3() {
|
||||
for repo in revanced-cli ; do
|
||||
asset_urls=$(wget -qO- "https://api.github.com/repos/$1/$repo/releases/latest" \
|
||||
| jq -r '.assets[] | "\(.browser_download_url) \(.name)"')
|
||||
while read -r url names
|
||||
do
|
||||
echo "Downloading $names from $url"
|
||||
wget -q -O "$names" $url
|
||||
done <<< "$asset_urls"
|
||||
done
|
||||
echo "All assets downloaded"
|
||||
}
|
||||
dl_revanced_integrations() {
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/$1/revanced-integrations/releases/download/v$2/revanced-integrations-$2.apk -o revanced-integrations-$2.apk
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user