bug fix
This commit is contained in:
@@ -4,7 +4,7 @@ tools_path="$MODDIR/tools"
|
||||
bin_path="$MODDIR/tools/bin"
|
||||
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
|
||||
[[ ! -d $bin_path ]] && echo "$bin_path目錄遺失" && exit 1
|
||||
txt="$MODDIR/應用列表.txt"
|
||||
txt="$MODDIR/appList.txt"
|
||||
txt="${txt/'/storage/emulated/'/'/data/media/'}"
|
||||
. "$bin_path/bin.sh"
|
||||
echo "#不需要恢復還原的應用請在開頭注釋# 比如#xxxxxxxx 酷安">"$txt"
|
||||
|
||||
@@ -3,6 +3,7 @@ tools_path="$MODDIR/tools"
|
||||
bin_path="$tools_path/bin"
|
||||
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
|
||||
. "$bin_path/bin.sh"
|
||||
echoRgb "警告 此腳本將刪除任何未被安裝的應用備份\n -你的備份將一去不復返,10秒內退出腳本還有生還機會" "0" && sleep 10
|
||||
find "$MODDIR" -maxdepth 2 -type d | sort | while read; do
|
||||
if [[ -f $REPLY/app_details ]]; then
|
||||
unset PackageName
|
||||
|
||||
Reference in New Issue
Block a user