You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
no connection prompt, help menu overlay transition. Better readability installation script.
19 lines
547 B
Bash
19 lines
547 B
Bash
#!/system/bin/sh
|
|
|
|
MODPATH=${0%/*}
|
|
OUTPUT="$MODPATH/exclude-list"
|
|
|
|
if ! curl -s "https://modules.lsposed.org/modules.json" > /dev/null; then
|
|
exit 1
|
|
fi
|
|
|
|
# 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"
|