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