Merge branch 'main' of https://github.com/Oreomeow/VIP into main

This commit is contained in:
Leon 2021-08-23 01:46:17 +08:00
commit 37486bc7f8

View File

@ -1,8 +1,6 @@
#!/usr/bin/env bash
# Build 20210817-001
p1=$1
# Build 20210822-001
name_js=(
jd_fruit
@ -227,9 +225,8 @@ combine_all() {
## 正常依次运行时,组合互助码格式化为全局变量
combine_only() {
local scr=$p1 ## 活动脚本完整文件名
for ((i = 0; i < ${#env_name[*]}; i++)); do
case $scr in
case $first_param in
*${name_js[i]}.js | *${name_js[i]}.ts)
if [[ -f $dir_log/.ShareCode/${name_config[i]}.log ]]; then
. $dir_log/.ShareCode/${name_config[i]}.log
@ -250,7 +247,7 @@ TempBlock_JD_COOKIE && Random_JD_COOKIE
if [ $scr_name ]; then
team_task
elif [ $p1 ]; then
else
combine_only
fi