From 1610791e5c022fa46479b2f2918b28a8644e1ee7 Mon Sep 17 00:00:00 2001 From: shufflewzc <574427728@qq.com> Date: Wed, 3 Nov 2021 12:23:53 +0800 Subject: [PATCH] 1 --- Scripts/sh/1customCDN.sh | 4 ++-- Scripts/sh/Helpcode2.8/code.sh | 2 +- Scripts/sh/ql.sh | 2 +- Tasks/qlrepo/extra.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/sh/1customCDN.sh b/Scripts/sh/1customCDN.sh index 85f2304..fc0d8bc 100644 --- a/Scripts/sh/1customCDN.sh +++ b/Scripts/sh/1customCDN.sh @@ -108,7 +108,7 @@ dl_extra_shell() { # extra.sh 设置区设置 set_default_extra() { echo -e "一、集成仓库 Shufflewzc-Faker2" - read -p "直接回车拉取Faker2仓库" CollectedRepo + read -p "直接回车拉取Faker2仓库,输入2回车拉取Faker3纯净仓库" CollectedRepo echo -e "二、其他仓库(Other Repositories)\n1-passerby-b\n2-curtinlv\n3-smiek2221\n4-cdle\n5-ZCY01\n6-whyour/hundun\n7-moposmall\n8-Ariszy (Zhiyi-N)\n9-photonmang\n10-jiulan\n12-star261\n13-Wenmoux\n14-Tsukasa007" read -p "输入您想拉取其他仓库编号(回车默认不拉取),拉取多个请用空格隔开:" OtherRepo CollectedRepo=${CollectedRepo:-"4"} @@ -185,7 +185,7 @@ dl_code_shell() { # code.sh 预设仓库及默认调用仓库设置 set_default_code() { echo -e "## 将\"repo=\$repo1\"改成\"repo=\$repo2\"或其他,以默认调用其他仓库脚本日志\nrepo1='panghu999_jd_scripts' #预设的 panghu999 仓库\nrepo2='JDHelloWorld_jd_scripts' #预设的 JDHelloWorld 仓库\nrepo3='he1pu_JDHelp' #预设的 he1pu 仓库\nrepo4='shufflewzc_faker2' #预设的 shufflewzc 仓库\nrepo6='Aaron-lv_sync_jd_scripts' #预设的 Aaron-lv 仓库\nrepoA='yuannian1112_jd_scripts' #预设的 yuannian1112 仓库\nrepo=\$repo1 #默认调用 panghu999 仓库脚本日志" - read -p "输入您想调用的仓库编号(默认为 4):" repoNum + read -p "回车直接配置Faker2仓库内部助力,输入1回车则配置Faker3纯净仓库内部助力:" repoNum repoNum=${repoNum:-'4'} sed -i "s/repo=\$repo[0-9]/repo=\$repo${repoNum}/g" $code_shell_path if [ "${repoNum}" = 'A' ]; then diff --git a/Scripts/sh/Helpcode2.8/code.sh b/Scripts/sh/Helpcode2.8/code.sh index f527313..f50db08 100644 --- a/Scripts/sh/Helpcode2.8/code.sh +++ b/Scripts/sh/Helpcode2.8/code.sh @@ -14,7 +14,7 @@ DEL_COOKIE="0" ## 预设的仓库及默认调用仓库设置 ## 将"repo=$repo1"改成repo=$repo2"或其他,以默认调用其他仓库脚本日志 ## 也可自行搜索本脚本内的"name_js=("和"name_js_only",将"repo"改成"repo2"或其他,用以自由组合调用仓库的脚本日志 -repo1='panghu999_jd_scripts' #预设的 panghu999 仓库 +repo1='shufflewzc_faker3' #预设的 Faker3仓库 repo2='JDHelloWorld_jd_scripts' #预设的 JDHelloWorld 仓库 repo3='he1pu_JDHelp' #预设的 he1pu 仓库 repo4='shufflewzc_faker2' #预设的 shufflewzc 仓库 diff --git a/Scripts/sh/ql.sh b/Scripts/sh/ql.sh index 55c9b54..2b5df39 100644 --- a/Scripts/sh/ql.sh +++ b/Scripts/sh/ql.sh @@ -80,7 +80,7 @@ docker_install() { } docker_install -warn "降低学习成本,小白回车到底,一路默认选择" +warn "Faker系列仓库一键安装配置,小白回车到底,一路默认选择" # 配置文件保存目录 echo -n -e "\e[33m一、请输入配置文件保存的绝对路径(示例:/root),回车默认为当前目录:\e[0m" read jd_path diff --git a/Tasks/qlrepo/extra.sh b/Tasks/qlrepo/extra.sh index 033ad0f..8094532 100644 --- a/Tasks/qlrepo/extra.sh +++ b/Tasks/qlrepo/extra.sh @@ -57,7 +57,7 @@ EOF #------ 代码区 ------# # 🌱拉取仓库 CR2(){ - ql repo https://github.com/JDHelloWorld/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp|Coupon|enen|update|test" "^jd[^_]|USER|^TS|utils|notify|env|package|ken.js" + ql repo https://github.com/shufflewzc/faker3.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp|Coupon|update" "^jd[^_]|USER|utils|^JS|^TS|^JDJRValidator_Pure|^ZooFaker|^sign|ql" } CR3(){ ql repo https://github.com/he1pu/JDHelp.git "jd_|jx_|getJDCookie" "Coupon|update" "^jd[^_]|USER|^sign|^ZooFaker|utils"