This commit is contained in:
Yawasau
2023-12-17 12:24:51 +08:00
parent b2dcdc4e02
commit 1fb7f93b9f
15 changed files with 159 additions and 3600 deletions

View File

@@ -1,8 +1,8 @@
if [ -f "${0%/*}/tools/tools.sh" ]; then
MODDIR="${0%/*}"
operate="backup"
. "${0%/*}/tools/tools.sh" | tee "$MODDIR/log.txt"
MODDIR="${0%/*}"
operate="backup"
conf_path="${0%/*}/backup_settings.conf"
. "${0%/*}/tools/tools.sh" | tee "$MODDIR/log.txt"
else
[[ $(echo "${0%/*}" | grep -o 'bin.mt.plus/temp') != "" ]] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2
echo "${0%/*}/tools/tools.sh遺失"
fi
echo "${0%/*}/tools/tools.sh遺失"
fi