This commit is contained in:
YAWAsau
2021-10-24 13:12:50 +08:00
parent b1b2da7435
commit b1f9fa80bb
6 changed files with 156 additions and 65 deletions

View File

@@ -6,9 +6,9 @@ txt="$MODDIR/應用列表.txt"
. "$bin_path/bin.sh"
echo "#不需要恢復還原的應用請在開頭注釋# 比如#xxxxxxxx 酷安">"$txt"
find "$MODDIR" -maxdepth 1 -type d | sort | sed 's/\[/ /g ; s/\]//g' | while read; do
case ${REPLY##*/} in
媒體|backup_*|Backup_*|bin) ;;
*) echo "${REPLY##*/}">>"$txt" ;;
esac
if [[ -f $REPLY/app_details ]]; then
. $REPLY/app_details
echo "${REPLY##*/} $PackageName">>"$txt"
fi
done
echoRgb "$txt重新生成"