mirror of
https://github.com/lan-tianxiang/JS_TOOL.git
synced 2025-07-13 20:22:35 +08:00
更新于 07-15 12:10 完善注释
This commit is contained in:
4
jd.sh
4
jd.sh
@ -1185,10 +1185,10 @@ thirdpard脚本目录:$dir_thirdpard
|
||||
fi
|
||||
|
||||
url_scripts=${JD_SCRIPTS_URL:-https://gitee.com/highdimen/clone_scripts.git}
|
||||
branch_scripts=${JD_SCRIPTS_BRANCH:-origin/master}
|
||||
branch_scripts=${JD_SCRIPTS_BRANCH:-master}
|
||||
## 更新或克隆scripts
|
||||
if [ -d $dir_scripts/.git ]; then
|
||||
git_pull_scripts $dir_scripts $branch_scripts
|
||||
git_pull_scripts $dir_scripts origin/$branch_scripts
|
||||
else
|
||||
git_clone_scripts $url_scripts $dir_scripts $branch_scripts
|
||||
fi
|
||||
|
@ -1,4 +1,4 @@
|
||||
## Version: v0.16.2
|
||||
## Version: v0.16.3
|
||||
## Date: 2021-07-16
|
||||
## Update Content: 新增脚本域名限制(安全选项),完善主库设定
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
## 部分文件的改动可以考虑用第三方库功能进行替换即可。
|
||||
## 值为空表示使用默认地址
|
||||
## 比如JD_SCRIPTS_URL="https://gitee.com/highdimen/clone_scripts.git"库的地址
|
||||
## JD_SCRIPTS_BRANCH="origin/master"库的分支,此项也需填写。
|
||||
## JD_SCRIPTS_BRANCH="master"库的分支,此项也需填写。
|
||||
JD_SCRIPTS_URL=""
|
||||
JD_SCRIPTS_BRANCH=""
|
||||
|
||||
|
Reference in New Issue
Block a user