Skip to content

Commit b233a93

Browse files
committed
opt: xposed list
1 parent 2794350 commit b233a93

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

module/common/get_extra.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ get_xposed() {
3333
XPOSED=$1; SKIPLIST=$2; PACKAGE=$3
3434
APK_PATH=$(pm path "$PACKAGE" 2>/dev/null | head -n1 | cut -d: -f2)
3535
[ -z "$APK_PATH" ] && exit
36-
if unzip -l "$APK_PATH" | grep -q "xposed"; then
36+
if unzip -l "$APK_PATH" | grep -qE "xposed_init|xposed/module.prop"; then
3737
echo "$PACKAGE" >> "$XPOSED"
3838
else
3939
echo "$PACKAGE" >> "$SKIPLIST"

module/service.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ else
5454
[ -d "$HIDE_DIR" ] && rm -rf "$HIDE_DIR"
5555
fi
5656

57-
# Hide module from APatch, KernelSU, KSUWebUIStandalone, MMRL
58-
nohup sh -c "sleep 3; rm -f $MODPATH/module.prop" &
59-
6057
# Symlink tricky store
6158
if [ -f "$MODPATH/action.sh" ] && [ ! -e "$TS/action.sh" ]; then
6259
ln -s "$MODPATH/action.sh" "$TS/action.sh"
@@ -72,3 +69,6 @@ done
7269
sh "$MODPATH/common/get_extra.sh" --xposed >/dev/null 2>&1
7370

7471
[ ! -f "$MODPATH/action.sh" ] || rm -rf "/data/adb/modules/TA_utl"
72+
73+
# Hide module from APatch, KernelSU, KSUWebUIStandalone, MMRL
74+
nohup sh -c "sleep 3; rm -f $MODPATH/module.prop" &

0 commit comments

Comments
 (0)