From f068cd6a46a8556a75d757395b2e2939877b39fd Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Wed, 9 Jun 2021 22:54:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/config.sample.sh | 2 +- shell/update.sh | 18 +++++++++--------- src/version.ts | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sample/config.sample.sh b/sample/config.sample.sh index 850dc6d0..44efdf7b 100644 --- a/sample/config.sample.sh +++ b/sample/config.sample.sh @@ -1,4 +1,4 @@ -## Version: v2.2.0 +## Version: v2.2.0-062 ## Date: 2021-06-07 ## Update Content: session管理增加批量操作\n增加go-cqhttp通知方式\n修复页面标题 diff --git a/shell/update.sh b/shell/update.sh index 244745df..bc5cb976 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -170,7 +170,7 @@ update_repo() { local repo_path="${dir_repo}/${author}_${repo}" [[ $branch ]] && repo_path="${repo_path}_${branch}" - + if [ -d ${repo_path}/.git ]; then reset_romote_url ${repo_path} "${github_proxy_url}${url/https:\/\/ghproxy.com\//}" "${branch}" git_pull_scripts ${repo_path} "${branch}" @@ -241,14 +241,14 @@ run_extra_shell() { ## 脚本用法 usage() { echo -e "本脚本用法:" - echo -e "1. $cmd_update update # 更新并重启青龙" - echo -e "1. $cmd_update extra # 运行自定义脚本" - echo -e "3. $cmd_update raw # 更新单个脚本文件" - echo -e "4. $cmd_update repo # 更新单个仓库的脚本" - echo -e "5. $cmd_update rmlog # 删除旧日志" - echo -e "6. $cmd_update code # 获取互助码" - echo -e "6. $cmd_update bot # 启动tg-bot" - echo -e "7. $cmd_update reset # 重置青龙基础环境" + echo -e "1. $cmd_update update # 更新并重启青龙" + echo -e "1. $cmd_update extra # 运行自定义脚本" + echo -e "3. $cmd_update raw # 更新单个脚本文件" + echo -e "4. $cmd_update repo # 更新单个仓库的脚本" + echo -e "5. $cmd_update rmlog # 删除旧日志" + echo -e "6. $cmd_update code # 获取互助码" + echo -e "6. $cmd_update bot # 启动tg-bot" + echo -e "7. $cmd_update reset # 重置青龙基础环境" } ## 更新qinglong diff --git a/src/version.ts b/src/version.ts index 03f5de17..246fd666 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ -export const version = 'v2.2.0-061'; -export const changeLog = 'https://t.me/jiaolongwang/104'; +export const version = 'v2.2.0-062'; +export const changeLog = 'https://t.me/jiaolongwang/105';