mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 16:17:40 +00:00
Update
This commit is contained in:
@@ -2,14 +2,19 @@
|
|||||||
# Revanced build
|
# Revanced build
|
||||||
source src/build/tools.sh
|
source src/build/tools.sh
|
||||||
|
|
||||||
curl -sL -O $(curl -s "https://api.github.com/repos/revanced/revanced-patches/releases/latest" | jq -r '.assets[] | select(.name | test("revanced-patches.*\\.jar$")) | .browser_download_url')
|
release=$(curl -s "https://api.github.com/repos/revanced/revanced-patches/releases/latest")
|
||||||
|
asset=$(echo "$release" | jq -r '.assets[] | select(.name | test("revanced-patches.*\\.jar$")) | .browser_download_url')
|
||||||
|
curl -sL -O "$asset"
|
||||||
ls revanced-patches*.jar >> new.txt
|
ls revanced-patches*.jar >> new.txt
|
||||||
curl -sL -O $(curl -s "https://api.github.com/repos/$repository/releases/latest" | jq -r '.assets[] | select(.name == "revanced-version.txt") | .browser_download_url')
|
rm -f revanced-patches*.jar
|
||||||
|
release=$(curl -s "https://api.github.com/repos/$repository/releases/latest")
|
||||||
|
asset=$(echo "$release" | jq -r '.assets[] | select(.name == "revanced-version.txt") | .browser_download_url')
|
||||||
|
curl -sL -O "$asset"
|
||||||
if diff -q revanced-version.txt new.txt >/dev/null ; then
|
if diff -q revanced-version.txt new.txt >/dev/null ; then
|
||||||
rm -f revanced-patches*.jar *.txt
|
|
||||||
echo "Old patch!!! Not build"
|
echo "Old patch!!! Not build"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
rm -f *.txt
|
||||||
|
|
||||||
dl_gh "revanced-patches revanced-cli revanced-integrations" "revanced" "latest"
|
dl_gh "revanced-patches revanced-cli revanced-integrations" "revanced" "latest"
|
||||||
|
|
||||||
|
|||||||
@@ -2,14 +2,19 @@
|
|||||||
# Revanced Extended for android 6 & 7 build
|
# Revanced Extended for android 6 & 7 build
|
||||||
source src/build/tools.sh
|
source src/build/tools.sh
|
||||||
|
|
||||||
curl -sL -O $(curl -s "https://api.github.com/repos/kitadai31/revanced-patches-android6-7/releases/latest" | jq -r '.assets[] | select(.name | test("revanced-patches.*\\.jar$")) | .browser_download_url')
|
release=$(curl -s "https://api.github.com/repos/kitadai31/revanced-patches-android6-7/releases/latest")
|
||||||
|
asset=$(echo "$release" | jq -r '.assets[] | select(.name | test("revanced-patches.*\\.jar$")) | .browser_download_url')
|
||||||
|
curl -sL -O "$asset"
|
||||||
ls revanced-patches*.jar >> new.txt
|
ls revanced-patches*.jar >> new.txt
|
||||||
curl -sL -O $(curl -s "https://api.github.com/repos/$repository/releases/latest" | jq -r '.assets[] | select(.name == "revanced-version.txt") | .browser_download_url')
|
rm -f revanced-patches*.jar
|
||||||
if diff -q revanced-version.txt new.txt >/dev/null ; then
|
release=$(curl -s "https://api.github.com/repos/$repository/releases/latest")
|
||||||
rm -f revanced-patches*.jar *.txt
|
asset=$(echo "$release" | jq -r '.assets[] | select(.name == "revanced-extended-android-6-7-version.txt") | .browser_download_url')
|
||||||
|
curl -sL -O "$asset"
|
||||||
|
if diff -q revanced-extended-android-6-7-version.txt new.txt >/dev/null ; then
|
||||||
echo "Old patch!!! Not build"
|
echo "Old patch!!! Not build"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
rm -f *.txt
|
||||||
|
|
||||||
dl_gh "revanced-patches-android6-7 revanced-integrations" "kitadai31" "latest"
|
dl_gh "revanced-patches-android6-7 revanced-integrations" "kitadai31" "latest"
|
||||||
dl_gh "revanced-cli" "inotia00" "latest"
|
dl_gh "revanced-cli" "inotia00" "latest"
|
||||||
|
|||||||
@@ -2,14 +2,19 @@
|
|||||||
# Revanced Extended build
|
# Revanced Extended build
|
||||||
source src/build/tools.sh
|
source src/build/tools.sh
|
||||||
|
|
||||||
curl -sL -O $(curl -s "https://api.github.com/repos/inotia00/revanced-patches/releases/latest" | jq -r '.assets[] | select(.name | test("revanced-patches.*\\.jar$")) | .browser_download_url')
|
release=$(curl -s "https://api.github.com/repos/inotia00/revanced-patches/releases/latest")
|
||||||
|
asset=$(echo "$release" | jq -r '.assets[] | select(.name | test("revanced-patches.*\\.jar$")) | .browser_download_url')
|
||||||
|
curl -sL -O "$asset"
|
||||||
ls revanced-patches*.jar >> new.txt
|
ls revanced-patches*.jar >> new.txt
|
||||||
curl -sL -O $(curl -s "https://api.github.com/repos/$repository/releases/latest" | jq -r '.assets[] | select(.name == "revanced-version.txt") | .browser_download_url')
|
rm -f revanced-patches*.jar
|
||||||
if diff -q revanced-version.txt new.txt >/dev/null ; then
|
release=$(curl -s "https://api.github.com/repos/$repository/releases/latest")
|
||||||
rm -f revanced-patches*.jar *.txt
|
asset=$(echo "$release" | jq -r '.assets[] | select(.name == "revanced-extended-version.txt") | .browser_download_url')
|
||||||
|
curl -sL -O "$asset"
|
||||||
|
if diff -q revanced-extended-version.txt new.txt >/dev/null ; then
|
||||||
echo "Old patch!!! Not build"
|
echo "Old patch!!! Not build"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
rm -f *.txt
|
||||||
|
|
||||||
dl_gh "revanced-patches revanced-cli revanced-integrations" "inotia00" "latest"
|
dl_gh "revanced-patches revanced-cli revanced-integrations" "inotia00" "latest"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user