Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored Sep 19, 2022
1 parent eba659a commit d667f0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ ls $Likk/lib
# Tải Youtube
Vidon="$(java -jar $Likk/lib/revanced-cli.jar -a $Likk/lib/revanced-integrations.apk -b $Likk/lib/revanced-patches.jar -l --with-versions | grep -m1 general-ads | tr ',' '\n' | tac | head -n 1 | awk '{print $1}')"
[ "$VERSION" == "Default" ] && VERSION="$Vidon"
echo "VS=$Vidon" >> $GITHUB_ENV

Taiyt () {
Upk="https://www.apkmirror.com"
Expand Down Expand Up @@ -147,7 +148,7 @@ zip -q -r "$Likk/Up/YT-Magisk-$VERSION-$ach$amoled2.Zip" *
echo '{
"version": "'$VERSION'",
"versionCode": "'${VERSION//./}'",
"zipUrl": "https://github.com/'$GITHUB_REPOSITORY'/releases/download/Vip/YT-Magisk-'$VERSION'-'$ach$amoled2'.Zip",
"zipUrl": "https://github.com/'$GITHUB_REPOSITORY'/releases/download/V'$Vidon'/YT-Magisk-'$VERSION'-'$ach$amoled2'.Zip",
"changelog": "https://raw.githubusercontent.com/'$GITHUB_REPOSITORY'/Vip/Zhaglog.md"
}' > $Likk/Up-$ach$amoled2.json
echo > $Likk/done.txt ) & cpnn
Expand Down

0 comments on commit d667f0a

Please sign in to comment.