Skip to content

Commit

Permalink
Update YT.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored Jul 20, 2024
1 parent 4e80088 commit 0b47cb4
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
Expand Up @@ -21,9 +21,8 @@ linkAPK(){ pm path com.google.android.youtube | grep base | cut -d : -f2; }

cpLIB(){ cp -af $1 ${2%/*}; }

mountYT(){
chcon u:object_r:apk_data_file:s0 "$1"
mount -o bind "$1" "$2" || su -M -c mount -o bind "$1" "$2"; }
mountYT(){ chcon u:object_r:apk_data_file:s0 "$1"; mount -o bind "$1" "$2"; md1="$(md5sum -b "$1")"; md2="$(md5sum -b "$2")"
[ "$md1" == "$md2" ] || su -M -c mount -o bind "$1" "$2"; }

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

0 comments on commit 0b47cb4

Please sign in to comment.