From 28fd4e3a1468a1bd99e9dc4197184d07f508d735 Mon Sep 17 00:00:00 2001 From: Leon <62660101+Oreomeow@users.noreply.github.com> Date: Sat, 24 Jul 2021 10:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/Update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/sh/Update.sh b/Scripts/sh/Update.sh index 2281eeb..24e6ab5 100644 --- a/Scripts/sh/Update.sh +++ b/Scripts/sh/Update.sh @@ -25,6 +25,9 @@ sed -i "s/\$default4/\$default${defaultNum}/g" $extra_config_path curl -sL https://git.io/code.sh > $code_raw_path mv -b $code_raw_path $dir_config sed -i "s/\$repo4/\$repo${repoNum}/g" $code_config_path +sed -i '/## 填 2 使用“随机顺序互助模板”,本套脚本内账号间随机顺序助力,每次生成的顺序都不一致。/{:a;n;s/1/0/g;/## 定义指定活动采用指定的互助模板。/!ba}' $code_config_path +sed -i '/## 不按示例填写可能引发报错。/{:a;n;s/0/1/g;/## 屏蔽模式/!ba}' $code_config_path +sed -i 's/BreakHelpNum=\"4 9-14 15~18 19_21\" ## 屏蔽账号序号或序号区间/BreakHelpNum=\"11-47\" ## 屏蔽账号序号或序号区间/g" $code_config_path curl -sL https://git.io/task_before.sh > $task_before_raw_path # mv -b $task_before_raw_path $dir_config