This commit is contained in:
YAWAsau
2021-12-18 21:58:06 +08:00
parent 0dbda7f78e
commit aa8014cfec
5 changed files with 57 additions and 43 deletions

View File

@@ -9,16 +9,17 @@ arm64*)
exit 1
;;
esac
#if [[ -d /data/user/0/com.tencent.mobileqq/files/aladdin_configs/964103426 ]]; then
# echo "爬 不給你用臭批阿巴" && exit 2
#fi
id=
if [[ $id != "" && -d /data/user/0/com.tencent.mobileqq/files/aladdin_configs/$id ]]; then
exit 2
fi
PATH="/sbin/.magisk/busybox:/system_ext/bin:/system/bin:/system/xbin:/vendor/bin:/vendor/xbin:/data/data/Han.GJZS/files/usr/busybox:/data/data/Han.GJZS/files/usr/bin:/data/data/com.omarea.vtools/files/toolkit:/data/user/0/com.termux/files/usr/bin"
if [[ -d $(magisk --path 2>/dev/null) ]]; then
PATH="$(magisk --path)/.magisk/busybox:$PATH"
else
echo "Magisk busybox Path does not exist"
fi ; export PATH="$PATH"
backup_version="V12.6"
backup_version="V12.8"
#設置二進制命令目錄位置
[[ $bin_path = "" ]] && echo "未正確指定bin.sh位置" && exit 2
#bin_path="${bin_path/'/storage/emulated/'/'/data/media/'}"

Binary file not shown.

View File

@@ -5,6 +5,7 @@ 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="${txt/'/storage/emulated/'/'/data/media/'}"
. "$bin_path/bin.sh"
echo "#不需要恢復還原的應用請在開頭注釋# 比如#xxxxxxxx 酷安">"$txt"
find "$MODDIR" -maxdepth 1 -type d | sort | while read; do