Update vmess-ws.sh
This commit is contained in:
@@ -6,12 +6,12 @@ config_file="/usr/local/etc/xray/config.json"
|
|||||||
|
|
||||||
# 检查并安装 jq
|
# 检查并安装 jq
|
||||||
if ! type jq &>/dev/null; then
|
if ! type jq &>/dev/null; then
|
||||||
apt-get update && apt-get install -y jq
|
apt-get update && apt-get install -yq jq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 检查并安装 uuid-runtime
|
# 检查并安装 uuid-runtime
|
||||||
if ! type uuidgen &>/dev/null; then
|
if ! type uuidgen &>/dev/null; then
|
||||||
apt-get install -y uuid-runtime
|
apt-get install -yq uuid-runtime
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 检查并安装 xray
|
# 检查并安装 xray
|
||||||
|
|||||||
Reference in New Issue
Block a user