From 0ccfd8609ad124117f2209222eff2e381f6914b6 Mon Sep 17 00:00:00 2001 From: FiorenMas <102145692+FiorenMas@users.noreply.github.com> Date: Sun, 19 Mar 2023 10:41:13 +0700 Subject: [PATCH] Update patch.sh --- patch.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/patch.sh b/patch.sh index cb2ce1e..b9d4954 100644 --- a/patch.sh +++ b/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