bug fix
This commit is contained in:
@@ -28,12 +28,12 @@ i=1
|
||||
bn=118
|
||||
rm -rf "$MODDIR/tmp"
|
||||
starttime1="$(date -u "+%s")"
|
||||
appinfo -d " " -o ands,pn -pn $system $launcher_app -3 2>/dev/null | sort | sed 's/\///g ; s/\://g ; s/(//g ; s/)//g ; s/\[//g ; s/\]//g ; s/\-//g' | while read name; do
|
||||
appinfo -d " " -o ands,pn -pn $system $launcher_app -3 2>/dev/null | sort | sed 's/\///g ; s/\://g ; s/(//g ; s/)//g ; s/\[//g ; s/\]//g ; s/\-//g' | egrep -v 'ice.message|oneplus|miui|xiaomi|oppo|flyme' | while read; do
|
||||
[[ $bn -ge 229 ]] && bn=118
|
||||
app_1=($name $name)
|
||||
app_1=($REPLY $REPLY)
|
||||
if [[ $(cat "$nametxt" | grep -oE "${app_1[1]}$") = "" ]]; then
|
||||
echo "$name" >>"$nametxt" && xz=1 && [[ ! -e $MODDIR/tmp ]] && touch "$MODDIR/tmp"
|
||||
echoRgb "$i.$name"
|
||||
echo "$REPLY" >>"$nametxt" && xz=1 && [[ ! -e $MODDIR/tmp ]] && touch "$MODDIR/tmp"
|
||||
echoRgb "$i.$REPLY"
|
||||
else
|
||||
unset xz
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user