From 57205487eebe0fd5a659de6effa2bb5c4dd4ab3d Mon Sep 17 00:00:00 2001 From: Kakathic Date: Sat, 16 Dec 2023 23:00:30 +0700 Subject: [PATCH] Update YT.sh --- .github/Modun/common/YT.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/Modun/common/YT.sh b/.github/Modun/common/YT.sh index dcd3ad3..d129da1 100644 --- a/.github/Modun/common/YT.sh +++ b/.github/Modun/common/YT.sh @@ -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" @@ -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