diff --git a/vancedx/service.sh b/vancedx/service.sh index 13902d0..85bb9e3 100644 --- a/vancedx/service.sh +++ b/vancedx/service.sh @@ -30,11 +30,11 @@ fi wait_until_login PKGNAME=com.google.android.youtube STOCKAPPVER=$(dumpsys package $PKGNAME | grep versionName | cut -d "=" -f 2 | sed -n '1p') -VANCEDXAPPVER=$(basename /data/adb/modules/ytvancedx/app/YouTube* .apk | cut -d "-" -f 2) +VANCEDXAPPVER=$(basename /data/adb/modules/ytvancedx/app/vancedx* .apk | cut -d "-" -f 2) if [ "$STOCKAPPVER" = "$VANCEDXAPPVER" ] then STOCKAPK=$(pm path $PKGNAME | grep base | cut -d ":" -f2) - VANCEDXAPK="/data/adb/modules/ytvancedx/app/YouTubeVancedX-$VANCEDXAPPVER.apk" + VANCEDXAPK="/data/adb/modules/ytvancedx/app/vancedx-$VANCEDXAPPVER.apk" chcon u:object_r:apk_data_file:s0 "$VANCEDXAPK" mount -o bind "$VANCEDXAPK" "$STOCKAPK" fi