From 7855bac9e11ddbfc7cebb05d254365117bf31efc Mon Sep 17 00:00:00 2001 From: kuailexs <952415538@qq.com> Date: Tue, 24 Sep 2024 23:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E4=BD=93=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 備份列表內已更新應用.sh => 备份列表内已更新的应用.sh | 4 ++-- 備份應用.sh => 备份应用.sh | 4 ++-- 備份自定義資料夾.sh => 备份自定义文件夹.sh | 4 ++-- 生成應用列表.sh => 生成应用列表.sh | 4 ++-- 終止腳本.sh => 终止脚本.sh | 10 +++++----- 5 files changed, 13 insertions(+), 13 deletions(-) rename 備份列表內已更新應用.sh => 备份列表内已更新的应用.sh (86%) rename 備份應用.sh => 备份应用.sh (86%) rename 備份自定義資料夾.sh => 备份自定义文件夹.sh (86%) rename 生成應用列表.sh => 生成应用列表.sh (86%) rename 終止腳本.sh => 终止脚本.sh (53%) diff --git a/備份列表內已更新應用.sh b/备份列表内已更新的应用.sh similarity index 86% rename from 備份列表內已更新應用.sh rename to 备份列表内已更新的应用.sh index 7461466..e8433b1 100644 --- a/備份列表內已更新應用.sh +++ b/备份列表内已更新的应用.sh @@ -1,4 +1,4 @@ -[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2 +[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "需要解压后使用" && exit 2 if [ -f "${0%/*}/tools/tools.sh" ]; then MODDIR="${0%/*}" operate="backup" @@ -21,5 +21,5 @@ if [ -f "${0%/*}/tools/tools.sh" ]; then } & ;; esac else - echo "${0%/*}/tools/tools.sh遺失" + echo "${0%/*}/tools/tools.sh遗失" fi diff --git a/備份應用.sh b/备份应用.sh similarity index 86% rename from 備份應用.sh rename to 备份应用.sh index fee661c..50a665c 100644 --- a/備份應用.sh +++ b/备份应用.sh @@ -1,4 +1,4 @@ -[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2 +[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "需要解压后使用" && exit 2 if [ -f "${0%/*}/tools/tools.sh" ]; then MODDIR="${0%/*}" operate="backup" @@ -20,5 +20,5 @@ if [ -f "${0%/*}/tools/tools.sh" ]; then } & ;; esac else - echo "${0%/*}/tools/tools.sh遺失" + echo "${0%/*}/tools/tools.sh遗失" fi diff --git a/備份自定義資料夾.sh b/备份自定义文件夹.sh similarity index 86% rename from 備份自定義資料夾.sh rename to 备份自定义文件夹.sh index e2bf947..8bf726b 100644 --- a/備份自定義資料夾.sh +++ b/备份自定义文件夹.sh @@ -1,4 +1,4 @@ -[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2 +[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "需要解压后使用" && exit 2 if [ -f "${0%/*}/tools/tools.sh" ]; then MODDIR="${0%/*}" operate="backup_media" @@ -20,5 +20,5 @@ if [ -f "${0%/*}/tools/tools.sh" ]; then } & ;; esac else - echo "${0%/*}/tools/tools.sh遺失" + echo "${0%/*}/tools/tools.sh遗失" fi diff --git a/生成應用列表.sh b/生成应用列表.sh similarity index 86% rename from 生成應用列表.sh rename to 生成应用列表.sh index 716f853..503802b 100644 --- a/生成應用列表.sh +++ b/生成应用列表.sh @@ -1,4 +1,4 @@ -[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2 +[ "$(echo "${0%/*}" | grep -o 'bin.mt.plus/temp')" != "" ] && echo "需要解压后使用" && exit 2 if [ -f "${0%/*}/tools/tools.sh" ]; then MODDIR="${0%/*}" operate="Getlist" @@ -20,5 +20,5 @@ if [ -f "${0%/*}/tools/tools.sh" ]; then } & ;; esac else - echo "${0%/*}/tools/tools.sh遺失" + echo "${0%/*}/tools/tools.sh遗失" fi diff --git a/終止腳本.sh b/终止脚本.sh similarity index 53% rename from 終止腳本.sh rename to 终止脚本.sh index 306bf4e..e29447b 100644 --- a/終止腳本.sh +++ b/终止脚本.sh @@ -2,12 +2,12 @@ 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 + [[ $(find "$MODDIR" -maxdepth 1 -name "*.zip" -type f 2>/dev/null) ]] && echo "警告!此脚本不能拿來更新脚本" && exit 2 . "$MODDIR/tools/tools.sh" - echoRgb "等待腳本停止中,請稍後....." - kill_Serve && echoRgb "腳本終止" + echoRgb "等待脚本停止中,请稍后....." + kill_Serve && echoRgb "脚本终止" exit else - [[ $(echo "${0%/*}" | grep -o 'bin.mt.plus/temp') != "" ]] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2 - echo "${0%/*}/tools/tools.sh遺失" + [[ $(echo "${0%/*}" | grep -o 'bin.mt.plus/temp') != "" ]] && echo "需要解压后使用" && exit 2 + echo "${0%/*}/tools/tools.sh遗失" fi \ No newline at end of file