wulabing / V2Ray_ws-tls_bash_onekey

MIT License
2.09k stars 918 forks source link

VLESS的一键安装脚本在V2ray-Core安装时候校验失败 #80

Closed jianshunjiang closed 1 year ago

jianshunjiang commented 1 year ago

Downloading verification file for V2Ray archive: https://github.com/v2fly/v2ray-core/releases/download/v5.2.1/v2ray-linux-64.zip.dgst % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 299 100 299 0 0 824 0 --:--:-- --:--:-- --:--:-- 291k error: Check failed! Please check your network or try again.

v2ray-linux-64.zip.dgst 里面没有SHA256 字符 有的是SHA2-256 出现的校验问题可以参考这里 https://github.com/v2fly/v2ray-core/issues/2266

jianshunjiang commented 1 year ago

vmess的我见到已经修复了v2ray.sh的校验问题,dev下面的vless还没进行修复,辛苦两位大佬有空时候修复一下。十分感谢 @wulabing @jiuqi9997

jianshunjiang commented 1 year ago

对于DEV里面的vless一键安装的临时修复方法 将install.sh里面的v2ray.sh下载路径改变,把${github_branch}改成master。因为master的已经修复了校验问题

在install.sh里面搜索v2ray.sh

v2ray_install() { if [[ -d /root/v2ray ]]; then rm -rf /root/v2ray fi if [[ -d /etc/v2ray ]]; then rm -rf /etc/v2ray fi mkdir -p /root/v2ray cd /root/v2ray || exit wget -N --no-check-certificate https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/${github_branch}/v2ray.sh

改成 v2ray_install() { if [[ -d /root/v2ray ]]; then rm -rf /root/v2ray fi if [[ -d /etc/v2ray ]]; then rm -rf /etc/v2ray fi mkdir -p /root/v2ray cd /root/v2ray || exit wget -N --no-check-certificate https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/v2ray.sh

然后继续搜索v2ray.sh 3) bash <(curl -L -s https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/${github_branch}/v2ray.sh) ;; 改成3) bash <(curl -L -s https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/v2ray.sh) ;;