This commit is contained in:
YAWAsau
2022-01-23 11:03:50 +08:00
parent d6a31f07bc
commit 28b6b2adff
9 changed files with 34 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
if [ -f "${0%/*}/tools/bin/tools" ]; then
if [ -f "${0%/*}/tools/bin/tools.sh" ]; then
MODDIR="${0%/*}"
operate="dumpname"
. "${0%/*}/tools/bin/tools"
. "${0%/*}/tools/bin/tools.sh"
else
echo "${0%/*}/tools/bin/tools遺失"
echo "${0%/*}/tools/bin/tools.sh遺失"
fi

View File

@@ -1,7 +1,7 @@
if [ -f "${0%/*}/tools/bin/tools" ]; then
if [ -f "${0%/*}/tools/bin/tools.sh" ]; then
MODDIR="${0%/*}"
operate="Restore"
. "${0%/*}/tools/bin/tools"
. "${0%/*}/tools/bin/tools.sh"
else
echo "${0%/*}/tools/bin/tools遺失"
echo "${0%/*}/tools/bin/tools.sh遺失"
fi

View File

@@ -1,7 +1,7 @@
if [ -f "${0%/*/*}/tools/bin/tools" ]; then
if [ -f "${0%/*/*}/tools/bin/tools.sh" ]; then
MODDIR="${0%/*}"
operate="Restore2"
. "${0%/*/*}/tools/bin/tools"
. "${0%/*/*}/tools/bin/tools.sh"
else
echo "${0%/*/*}/tools/bin/tools遺失"
echo "${0%/*/*}/tools/bin/tools.sh遺失"
fi

View File

@@ -1,7 +1,7 @@
if [ -f "${0%/*/*}/tools/bin/tools" ]; then
if [ -f "${0%/*/*}/tools/bin/tools.sh" ]; then
MODDIR="${0%/*}"
operate="Restore3"
. "${0%/*/*}/tools/bin/tools"
. "${0%/*/*}/tools/bin/tools.sh"
else
echo "${0%/*/*}/tools/bin/tools遺失"
echo "${0%/*/*}/tools/bin/tools.sh遺失"
fi