From 0736f4ea385cbfd2b5a5e4901780d5a88ef235e7 Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Wed, 20 Nov 2024 00:44:28 +0800 Subject: [PATCH] Add app name display try to display app name in webui --- module/common/get_denylist.sh | 19 ------ module/webroot/index.html | 2 +- module/webroot/index.js | 122 +++++++++++++++++++++------------- 3 files changed, 76 insertions(+), 67 deletions(-) delete mode 100644 module/common/get_denylist.sh diff --git a/module/common/get_denylist.sh b/module/common/get_denylist.sh deleted file mode 100644 index 2bf25f7..0000000 --- a/module/common/get_denylist.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/system/bin/sh - -if [ -f "/data/adb/apd" ] || [ -f "/data/adb/ksud" ]; then - exit 1 -fi - -MODPATH=${0%/*} -OUTPUT="$MODPATH/denylist" - -# Get Magisk denylist -magisk --denylist ls 2>/dev/null | \ -awk -F'|' '{print $1}' | \ -grep -v "isolated" | \ -sort | uniq > "$OUTPUT" - -if [ ! -s "$OUTPUT" ]; then - echo "Failed to retrieve Magisk denylist or no packages found." > "$OUTPUT" - exit 1 -fi \ No newline at end of file diff --git a/module/webroot/index.html b/module/webroot/index.html index 8f38691..69869c5 100644 --- a/module/webroot/index.html +++ b/module/webroot/index.html @@ -96,7 +96,7 @@