This commit is contained in:
YAWAsau
2021-11-24 21:36:17 +08:00
parent e4df7f0c6b
commit ca2afc52e1
15 changed files with 20 additions and 3166 deletions

View File

@@ -2,6 +2,7 @@
MODDIR="${0%/*}"
tools_path="${MODDIR%/*}/tools"
bin_path="${MODDIR%/*}/tools/bin"
script="${0##*/}"
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
[[ ! -d $bin_path ]] && echo "$bin_path目錄遺失" && exit 1
[[ ! -f $MODDIR/recover.conf ]] && echo "recover.conf遺失" && exit 1