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