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
if [[ $PackageName != "" ]]; then
echo "${REPLY##*/} $PackageName">>"$txt"
fi
fi
done
echoRgb "$txt重新生成"

View File

@@ -61,8 +61,8 @@ echoRgb "-提示 腳本支持後台壓縮 可以直接離開腳本\n -或是關
if [[ $PU != "" ]]; then
[[ -f /proc/mounts ]] && PT="$(cat /proc/mounts | grep "$PU" | awk '{print $2}')"
if [[ -d $PT ]]; then
echoRgb "檢測到usb 是否在usb備份\n 音量上是,音量下不是"
get_version "USB備份" "本地備份"
echoRgb "檢測到usb 是否在usb備份\n -音量上是,音量下不是"
get_version "選擇了USB備份" "選擇了本地備份"
if $branch = true ]]; then
Backup="$PT/Backup_$Compression_method"
data="/dev/block/vold/$PU"