This commit is contained in:
YAWAsau
2021-10-24 22:19:50 +08:00
parent a7e81502f7
commit 5e3ac25500
3 changed files with 6 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ if [[ -d $(magisk --path 2>/dev/null) ]]; then
else
echo "Magisk busybox Path does not exist"
fi ; export PATH="$PATH"
backup_version="V10.6 2021/10/22-20:59"
backup_version="V10.7TEST 2021/10/24-13:07"
#設置二進制命令目錄位置
[[ $bin_path = "" ]] && echo "未正確指定bin.sh位置" && exit 2
bin_path="${bin_path/'/storage/emulated/'/'/data/media/'}"

View File

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