Merge branch 'main' of https://github.com/Oreomeow/VIP into main
This commit is contained in:
commit
d567eb13a9
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Build 20210810-002
|
# Build 20210810-003
|
||||||
|
|
||||||
name_js=(
|
name_js=(
|
||||||
jd_fruit
|
jd_fruit
|
||||||
@ -157,8 +157,8 @@ TempBlock_JD_COOKIE
|
|||||||
for ((i = 0; i < ${#env_name[*]}; i++)); do
|
for ((i = 0; i < ${#env_name[*]}; i++)); do
|
||||||
case $1 in
|
case $1 in
|
||||||
*${name_js[i]}.js | *${name_js[i]}.ts)
|
*${name_js[i]}.js | *${name_js[i]}.ts)
|
||||||
if [[ -f ${name_config[i]}.log ]]; then
|
if [[ -f $dir_log/.ShareCode/${name_config[i]}.log ]]; then
|
||||||
. $dir_log/.ShareCode/${name_config[i]}.log
|
. $dir_log/.ShareCode/${name_config[i]}.log
|
||||||
result=$(combine_sub ${var_name[i]})
|
result=$(combine_sub ${var_name[i]})
|
||||||
if [[ $result ]]; then
|
if [[ $result ]]; then
|
||||||
export ${env_name[i]}=$result
|
export ${env_name[i]}=$result
|
||||||
|
|||||||
@ -102,7 +102,7 @@ warn "小白基本回车即可,更多学习内容尽在 https://github.com/ele
|
|||||||
inp "是否为 arm 架构系统:\n1) x86_64[默认]\n2)arm64\n3)arm32"
|
inp "是否为 arm 架构系统:\n1) x86_64[默认]\n2)arm64\n3)arm32"
|
||||||
opt
|
opt
|
||||||
read architecture
|
read architecture
|
||||||
architecture=${image:-'1'}
|
architecture=${architecture:-'1'}
|
||||||
if [ "$architecture" = "2" ]; then
|
if [ "$architecture" = "2" ]; then
|
||||||
TAG="arm64"
|
TAG="arm64"
|
||||||
elif [ "$architecture" = "3" ]; then
|
elif [ "$architecture" = "3" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user