Skip to content

Commit

Permalink
Update YT.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored Mar 30, 2024
1 parent c13eb59 commit f4c31eb
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/YT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand All @@ -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..."
Expand Down

0 comments on commit f4c31eb

Please sign in to comment.