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 16, 2023
1 parent 81ebd8a commit 5720548
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/Modun/common/YT.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# kakathic
su="su --mount-master -c"

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

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

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

0 comments on commit 5720548

Please sign in to comment.