From 8bc0991275de940310e9d1a7257dad9eb999162d Mon Sep 17 00:00:00 2001 From: LoveSy Date: Tue, 30 Mar 2021 13:48:06 +0800 Subject: [PATCH] [core] Use util function to check riru version (#433) --- core/template_override/post-fs-data.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/template_override/post-fs-data.sh b/core/template_override/post-fs-data.sh index 56c04831..a549936e 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 "$MODDIR/riru.sh" ] && exit 1 -. $MODDIR/riru.sh +[ ! -f /data/adb/riru/util_functions.sh ] && exit 1 +. /data/adb/riru/util_functions.sh LSPD_VERSION=$(grep_prop version "${MODDIR}/module.prop") LSPD_VERSIONCODE=$(grep_prop versionCode "${MODDIR}/module.prop")