This commit is contained in:
Yawasau
2024-11-10 13:06:11 +08:00
parent 73d68e9d83
commit a1214b9b94
6 changed files with 27 additions and 29 deletions

View File

@@ -2,7 +2,6 @@ if [ -f "${0%/*}/tools/tools.sh" ]; then
MODDIR="${0%/*}"
operate="kill_script"
conf_path="${0%/*}/backup_settings.conf"
[[ $(find "$MODDIR" -maxdepth 1 -name "*.zip" -type f 2>/dev/null) ]] && echo "警告!此腳本不能拿來更新腳本" && exit 2
. "$MODDIR/tools/tools.sh"
echoRgb "等待腳本停止中,請稍後....."
kill_Serve && echoRgb "腳本終止"