🔨followed by v3.4.5

This commit is contained in:
Leon 2021-08-21 22:18:59 +08:00
parent 6d96a19b59
commit 1f39d38156

View File

@ -99,16 +99,6 @@ EFSS_PATH=$V2P_PATH/elecv2p/efss
docker_install
warn "小白基本回车即可,更多学习内容尽在 https://github.com/elecV2/elecV2P"
inp "是否为 arm 架构系统:\n1) x86_64[默认]\n2arm64\n3arm32"
opt
read architecture
architecture=${architecture:-'1'}
if [ "$architecture" = "2" ]; then
TAG="arm64"
elif [ "$architecture" = "3" ]; then
TAG="arm32"
fi
inp "是否将目录映射到外部:\n1) 映射[默认]\n2) 不映射"
opt
read ext_all
@ -266,7 +256,7 @@ run_v() {
--name $CONTAINER_NAME \
--restart always \
--network $NETWORK \
$DOCKER_IMG_NAME:$TAG
$DOCKER_IMG_NAME
}
run_nov() {
docker run -dit \
@ -278,7 +268,7 @@ run_nov() {
--name $CONTAINER_NAME \
--restart always \
--network $NETWORK \
$DOCKER_IMG_NAME:$TAG
$DOCKER_IMG_NAME
}
if [ $EXT_ALL = true ]; then
run_v