Skip to content

Commit

Permalink
yt.sh: dont zip unneeded files
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhawat2 authored Dec 22, 2023
1 parent b4ed999 commit 7605d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ java -jar $CLI patch \
echo "Creating ${YTNAME}.zip"
sed -i "/version=/s/=.*/=$YTVERSION/g" $YTMODULEPATH/module.prop
sed -i "/versionCode=/s/=.*/=$YTVERSIONCODE/g" $YTMODULEPATH/module.prop
cd $YTMODULEPATH && zip -qr9 $CURDIR/$YTNAME.zip *
cd $YTMODULEPATH && zip -qr9 $CURDIR/$YTNAME.zip META-INF module.prop customize.sh service.sh youtube revanced.apk

echo "Creating ${YTMNAME}.zip"
sed -i "/version=/s/=.*/=$YTMVERSION/g" $YTMMODULEPATH/module.prop
sed -i "/versionCode=/s/=.*/=$YTMVERSIONCODE/g" $YTMMODULEPATH/module.prop
cd $YTMMODULEPATH && zip -qr9 $CURDIR/$YTMNAME.zip *
cd $YTMMODULEPATH && zip -qr9 $CURDIR/$YTMNAME.zip META-INF module.prop customize.sh service.sh youtube-music revanced-music.apk

# NoRoot
zip -d $YTMODULEPATH/youtube/base.apk lib/x86/* lib/x86_64/*
Expand Down

0 comments on commit 7605d77

Please sign in to comment.