update stuff

This commit is contained in:
j-hc 2022-07-28 23:03:26 +03:00
parent 9ba67f84ae
commit 19d56a1b64
No known key found for this signature in database
GPG Key ID: 242B44D16774A2ED

View File

@ -212,10 +212,9 @@ service_sh() {
local s='while [ "$(getprop sys.boot_completed)" != 1 ]; do
sleep 1
done
YTPATH=$(pm path PACKAGE | grep base | sed "s/package://g; s/\/base.apk//g")
if [ "$YTPATH" ]; then
su -c mount $MODDIR/base.apk $YTPATH/base.apk
BASEPATH=$(pm path PACKAGE | grep base | sed "s/package://g")
if [ "$BASEPATH" ]; then
su -c mount $MODDIR/base.apk $BASEPATH
fi'
echo "${s//PACKAGE/$1}" >"${MODULE_TEMPLATE_DIR}/service.sh"
}