bug fix
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
MODDIR="${0%/*}"
|
||||
tools_path="$MODDIR/tools"
|
||||
bin_path="$tools_path/bin"
|
||||
script_path="$tools_path/script"
|
||||
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
|
||||
[[ ! -d $script_path ]] && echo "$script_path目錄遺失" && exit 1
|
||||
. "$bin_path/bin.sh"
|
||||
find "$MODDIR" -maxdepth 2 -type d | sort | while read; do
|
||||
if [[ -f $REPLY/app_details ]]; then
|
||||
|
||||
@@ -19,6 +19,7 @@ for launcher_app in $launcher_app; do
|
||||
done
|
||||
isBoolean "$path" && txtpath="$nsx"
|
||||
[[ $txtpath = true ]] && txtpath="$PWD" || txtpath="$MODDIR"
|
||||
txtpath="${txtpath/'/storage/emulated/'/'/data/media/'}"
|
||||
nametxt="$txtpath/應用列表.txt"
|
||||
[[ ! -e $nametxt ]] && echo '#不需要備份的應用請在開頭注釋# 比如#酷安 xxxxxxxx\n#不需要備份數據比如酷安! xxxxxxxx應用名後方加一個驚嘆號即可 注意是應用名不是包名' >"$nametxt"
|
||||
echo >>"$nametxt"
|
||||
|
||||
Reference in New Issue
Block a user