diff --git a/core/template_override/post-fs-data.sh b/core/template_override/post-fs-data.sh index a549936e..4e0451a5 100644 --- a/core/template_override/post-fs-data.sh +++ b/core/template_override/post-fs-data.sh @@ -33,8 +33,8 @@ MODDIR=${0%/*} MAGISK_VERSION=$(magisk -v) MAGISK_VER_CODE=$(magisk -V) -[ ! -f /data/adb/riru/util_functions.sh ] && exit 1 -. /data/adb/riru/util_functions.sh +[ ! -f $(magisk --path)/.magisk/modules/riru-core/util_functions.sh ] && exit 1 +. $(magisk --path)/.magisk/modules/riru-core/util_functions.sh LSPD_VERSION=$(grep_prop version "${MODDIR}/module.prop") LSPD_VERSIONCODE=$(grep_prop versionCode "${MODDIR}/module.prop")