diff --git a/module/service.sh b/module/service.sh index 9b6ea4a..e973f27 100644 --- a/module/service.sh +++ b/module/service.sh @@ -71,6 +71,7 @@ fi # Optimization OUTPUT_APP="$MODPATH/common/tmp/applist" OUTPUT_SKIP="$MODPATH/common/tmp/skiplist" +OUTPUT_XPOSED="$MODPATH/common/tmp/xposed" until [ "$(getprop sys.boot_completed)" = "1" ]; do sleep 1 @@ -109,7 +110,10 @@ echo "# This file is generated from service.sh to speed up load time" > "$OUTPUT fi # Check if app is Xposed module and add to skip list if not - if ! aapt dump xmltree "$APK_PATH" AndroidManifest.xml 2>/dev/null | grep -qE "xposed.category|xposeddescription"; then + touch "$OUTPUT_XPOSED" + if aapt dump xmltree "$APK_PATH" AndroidManifest.xml 2>/dev/null | grep -qE "xposed.category|xposeddescription"; then + echo "$PACKAGE" >> "$OUTPUT_XPOSED" + else echo "$PACKAGE" >> "$OUTPUT_SKIP" fi done diff --git a/more-exclude.json b/more-exclude.json index 713254a..95dd02a 100644 --- a/more-exclude.json +++ b/more-exclude.json @@ -1,7 +1,5 @@ { "description": "Unnecessary app list", - "repo-link": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List", - "json-link": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/main/more-exclude.json", "data": [ { "info": "Root manager", @@ -126,11 +124,5 @@ } ] } - ], - "Add more app into this list?": [ - { - "issue": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues", - "pull-request": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/pulls" - } ] } \ No newline at end of file