Skip to content

Commit eeefb4d

Browse files
chisewaguriKOWX712ThanhCN0
committed
Revert: "scripts: generate app list on installation if it doesn't exist"
we aren't supposed to open webui on first installation so this is just making the process significantly slower this commit reverts commit c91365a Co-Authored-By: KOWX712 <[email protected]> Co-Authored-By: Thanh Nguyen <[email protected]>
1 parent 53e4fa5 commit eeefb4d

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

module/customize.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
SKIPUNZIP=0
66
MODDIR="/data/adb/modules/system_app_nuker"
77
PERSIST_DIR="/data/adb/system_app_nuker"
8-
APP_LIST="$PERSIST_DIR/app_list.json"
98

109
# import config
1110
uninstall_fallback=false
@@ -200,13 +199,6 @@ while IFS='=' read key _; do
200199
done < "$PERSIST_DIR/config.sh"
201200
echo "[*] Tip: You could edit config.sh in /data/adb/system_app_nuker/config.sh"
202201
echo ""
203-
204-
#
205-
if [ ! -f "$APP_LIST" ]; then
206-
echo "[+] Generating app list..."
207-
. "$MODPATH/service.sh"
208-
fi
209-
210202
echo "[✓] System App Nuker has been set up successfully."
211203

212204
# warn KSU or APatch user if module would not be mounted globally

module/service.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ refresh_applist=true
1414
# === FUNCTIONS ===
1515

1616
# appt binary
17-
if [ -f "$MODDIR/common/aapt" ]; then
18-
aapt() { "$MODDIR/common/aapt" "$@"; }
19-
elif [ -f "$MODPATH/common/aapt" ]; then
20-
aapt() { "$MODPATH/common/aapt" "$@"; }
21-
fi
22-
17+
aapt() { "$MODDIR/common/aapt" "$@"; }
2318

2419
# create applist cache
2520
create_applist() {

0 commit comments

Comments
 (0)