bug fix
This commit is contained in:
BIN
DCIM/Screenshot_20211230-185717_MT管理器-01.jpeg
Normal file
BIN
DCIM/Screenshot_20211230-185717_MT管理器-01.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
BIN
DCIM/Screenshot_20211230-185941_MT管理器-01.jpeg
Normal file
BIN
DCIM/Screenshot_20211230-185941_MT管理器-01.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 788 KiB |
BIN
DCIM/Screenshot_20211230-190000_MT管理器-01.jpeg
Normal file
BIN
DCIM/Screenshot_20211230-190000_MT管理器-01.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 688 KiB |
@@ -16,9 +16,9 @@ path2="/data/data"
|
||||
[[ ! -d ${bin_path%/*}/apk ]] && echo "${bin_path%/*}/apk目錄遺失" && exit 1
|
||||
i=1
|
||||
txt="$MODDIR/appList.txt"
|
||||
[[ ! -f $txt ]] && echoRgb "請執行\"掃描資料夾名.sh\"獲取應用列表再來恢復" "0" && exit 2
|
||||
[[ ! -f $txt ]] && echoRgb "請執行\"DumpName.sh\"獲取應用列表再來恢復" "0" && exit 2
|
||||
r="$(cat "$txt" | grep -v "#" | sed -e '/^$/d' | sed -n '$=')"
|
||||
[[ $r = "" ]] && echoRgb "應用列表.txt包名為空或是被注釋了" "0" && exit 1
|
||||
[[ $r = "" ]] && echoRgb "appList.txt包名為空或是被注釋了" "0" && exit 1
|
||||
[[ $(which restorecon) = "" ]] && echoRgb "restorecon命令不存在" "0" && exit 1
|
||||
#顯示執行結果
|
||||
Release_data() {
|
||||
|
||||
Reference in New Issue
Block a user