From f4c31eb5a2c18cea5dacf5885704b66104de0d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=E1=BA=B9o=20K=C3=A9o?= Date: Sat, 30 Mar 2024 19:59:41 +0700 Subject: [PATCH] Update YT.sh --- .github/YT.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/YT.sh b/.github/YT.sh index b985da9..e81f887 100644 --- a/.github/YT.sh +++ b/.github/YT.sh @@ -87,16 +87,21 @@ elif [ "$VERSION" == 'Autu' ];then VER="$Vidon" Kad=Auto$Vop V=U$Vop2 -if [ "$(Xem https://github.com/$GITHUB_REPOSITORY/releases/download/Up/Up-Z${V}notes.json | grep -cm1 "${VER//./}")" == 1 ];then -echo "! Là phiên bản mới nhất." -exit 0 -fi else VER="$VERSION" Kad=Edit$Vop V=N$Vop2 fi +Upenv V "$V" +Upenv Kad "$Kad" +Upenv VER "$VER" + +if [ "$VERSION" == 'Autu' ] && [ "$(Xem https://github.com/$GITHUB_REPOSITORY/releases/download/Up/Up-Z${V}notes.json | grep -cm1 "${VER//./}")" == 1 ];then +echo "! Là phiên bản mới nhất." +exit 0 +fi + echo # Tải tool cli echo "- Tải tool cli, patches, integrations..." @@ -119,9 +124,6 @@ checkzip "lib/revanced-cli.jar" checkzip "lib/revanced-patches.jar" checkzip "lib/revanced-integrations.apk" -Upenv V "$V" -Upenv Kad "$Kad" -Upenv VER "$VER" echo echo "- Tải YouTube $VER apk, apks..."