mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
Update patch.sh
This commit is contained in:
14
patch.sh
14
patch.sh
@@ -4,14 +4,14 @@
|
||||
# Revanced
|
||||
cat > keywords.rv << EOF
|
||||
NAME="revanced"
|
||||
USER="revanced"
|
||||
ORG="revanced"
|
||||
PATCH="patches.rv"
|
||||
EOF
|
||||
|
||||
# Revanced Extended
|
||||
cat > keywords.rve << EOF
|
||||
NAME="revanced-extended"
|
||||
USER="inotia00"
|
||||
ORG="inotia00"
|
||||
PATCH="patches.rve"
|
||||
EOF
|
||||
|
||||
@@ -63,15 +63,15 @@ echo -e "⏬ Prepairing $NAME resources..."
|
||||
IFS=$' \t\r\n'
|
||||
|
||||
# Patches & json
|
||||
latest_patches=$(curl -s https://api.github.com/repos/$USER/revanced-patches/releases/latest \
|
||||
latest_patches=$(curl -s https://api.github.com/repos/$ORG/revanced-patches/releases/latest \
|
||||
| jq -r '.assets[].browser_download_url')
|
||||
|
||||
# Cli
|
||||
latest_cli=$(curl -s https://api.github.com/repos/$USER/revanced-cli/releases/latest \
|
||||
latest_cli=$(curl -s https://api.github.com/repos/$ORG/revanced-cli/releases/latest \
|
||||
| jq -r '.assets[].browser_download_url')
|
||||
|
||||
# Integrations
|
||||
latest_integrations=$(curl -s https://api.github.com/repos/$USER/revanced-integrations/releases/latest \
|
||||
latest_integrations=$(curl -s https://api.github.com/repos/$ORG/revanced-integrations/releases/latest \
|
||||
| jq -r '.assets[].browser_download_url')
|
||||
|
||||
# Download all resources
|
||||
@@ -127,7 +127,9 @@ rm -f revanced-cli*.jar \
|
||||
revanced-patches*.jar \
|
||||
patches.json \
|
||||
options.toml \
|
||||
youtube*.apk
|
||||
youtube*.apk \
|
||||
|
||||
unset patches
|
||||
|
||||
# Finish
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user