File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 5
5
SKIPUNZIP=0
6
6
MODDIR=" /data/adb/modules/system_app_nuker"
7
7
PERSIST_DIR=" /data/adb/system_app_nuker"
8
+ APP_LIST=" $PERSIST_DIR /app_list.json"
8
9
9
10
# import config
10
11
uninstall_fallback=false
@@ -199,6 +200,14 @@ while IFS='=' read key _; do
199
200
done < " $PERSIST_DIR /config.sh"
200
201
echo " [*] Tip: You could edit config.sh in /data/adb/system_app_nuker/config.sh"
201
202
echo " "
203
+
204
+ #
205
+ if [ ! -f " $APP_LIST " ]; then
206
+ echo " [+] Generating app list..."
207
+ . " $MODPATH /service.sh"
208
+ echo " "
209
+ fi
210
+
202
211
echo " [✓] System App Nuker has been set up successfully."
203
212
204
213
# warn KSU or APatch user if module would not be mounted globally
Original file line number Diff line number Diff line change @@ -14,7 +14,12 @@ refresh_applist=true
14
14
# === FUNCTIONS ===
15
15
16
16
# appt binary
17
- aapt () { " $MODDIR /common/aapt" " $@ " ; }
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
+
18
23
19
24
# create applist cache
20
25
create_applist () {
You can’t perform that action at this time.
0 commit comments