Skip to content

Commit

Permalink
Update YT.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored Dec 3, 2023
1 parent 9c3537c commit 7ededfe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/Modun/common/YT.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# kakathic
su="su --mount-master -c"

checkYT(){
for Tkvi in $( find /data/app | grep com.google.android.youtube | grep 'base.apk' ); do
[ "$Tkvi" ] && umount -l "$Tkvi"
[ "$Tkvi" ] && $su umount -l "$Tkvi"
done
for Vhkdd in $(find /data/app -name *com.google.android.youtube*); do
[ "$Vhkdd" ] && rm -fr "$Vhkdd"
Expand All @@ -23,7 +24,7 @@ cpLIB(){ cp -af $1 ${2%/*}; }

mountYT(){
chcon u:object_r:apk_data_file:s0 "$1"
mount -o bind "$1" "$2"; }
$su mount -o bind "$1" "$2"; }

offCH(){
Sqlite3=$MODPATH/sqlite3
Expand Down

0 comments on commit 7ededfe

Please sign in to comment.