diff --git a/module/common/get_excldue-list.sh b/module/common/get_excldue-list.sh new file mode 100644 index 0000000..b30f289 --- /dev/null +++ b/module/common/get_excldue-list.sh @@ -0,0 +1,14 @@ +#!/system/bin/sh + +MODPATH=${0%/*} +OUTPUT="$MODPATH/exclude-list" + +# Fetch Xposed module package names +curl -s "https://modules.lsposed.org/modules.json" | \ +grep -o '"name":"[^"]*","description":' | \ +awk -F'"' '{print $4}' > "$OUTPUT" + +# Fetch additional package names +curl -s "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json" | \ +grep -o '"package-name": *"[^"]*"' | \ +awk -F'"' '{print $4}' >> "$OUTPUT" diff --git a/module/common/get_xposed.sh b/module/common/get_xposed.sh deleted file mode 100644 index d75b0d0..0000000 --- a/module/common/get_xposed.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/system/bin/sh - -# Get all xposed app package name -MODPATH=${0%/*} -OUTPUT="$MODPATH/xposed-list" - -curl -s "https://modules.lsposed.org/modules.json" | \ - grep -o '"name":"[^"]*","description":' | \ - awk -F'"' '{print $4}' > "$OUTPUT" \ No newline at end of file diff --git a/module/customize.sh b/module/customize.sh index 3107484..1b3f027 100644 --- a/module/customize.sh +++ b/module/customize.sh @@ -90,7 +90,7 @@ fi rm -rf "$MODPATH/bin" set_perm $SCRIPT_DIR/UpdateTargetList.sh 0 2000 0755 -set_perm $COMPATH/get_xposed.sh 0 2000 0755 +set_perm $COMPATH/get_exclude-list.sh 0 2000 0755 if [ -d "$CONFIG_DIR" ]; then if [ ! -f "$CONFIG_DIR/EXCLUDE" ] && [ ! -f "$CONFIG_DIR/ADDITION" ]; then diff --git a/module/webroot/index.html b/module/webroot/index.html index 8109be7..d5d3d62 100644 --- a/module/webroot/index.html +++ b/module/webroot/index.html @@ -26,7 +26,7 @@