VER=$(curl -s https://api.github.com/repos/v2ray/v2ray-core/releases/latest | grep tag_name | cut -d '"' -f 4)
URL=$(curl -s https://api.github.com/repos/v2ray/v2ray-core/releases/tags/${VER} | jq .assets[0].browser_download_url | tr -d ")
需要安装curl jq 两个库