mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
check the validity of installation before mounting
This commit is contained in:
parent
3aac72cdbc
commit
2ba59e9230
@ -1 +0,0 @@
|
||||
# utils
|
@ -1 +0,0 @@
|
||||
# utils
|
@ -1 +0,0 @@
|
||||
# utils
|
@ -1 +0,0 @@
|
||||
# utils
|
@ -1 +0,0 @@
|
||||
# utils
|
@ -8,7 +8,7 @@ sleep __MNTDLY
|
||||
ln -f $MODDIR/base.apk $RVPATH
|
||||
BASEPATH=$(pm path __PKGNAME | grep base)
|
||||
BASEPATH=${BASEPATH#*:}
|
||||
if [ $BASEPATH ]; then
|
||||
if [ $BASEPATH ] && [ -d ${BASEPATH%base.apk}lib ]; then
|
||||
VERSION=$(dumpsys package __PKGNAME | grep versionName)
|
||||
if [ ${VERSION#*=} = __PKGVER ]; then
|
||||
chcon u:object_r:apk_data_file:s0 $RVPATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user