Xray_onekey
Xray_onekey copied to clipboard
为脚本添加proxy选项
脚本里用了一堆 wget, 都是get 墙外的资源,运行脚本往往卡在wget 或curl , 在墙外是没有问题的,可能会有人说为啥要在墙内运行这脚本 -- 各人有各自的想法。
就类似于xray里提供的proxy
echo ' install:'
echo ' --version Install the specified version of Xray, e.g., --version v1.0.0'
echo ' -f, --force Force install even though the versions are same'
echo ' --beta Install the pre-release version if it is exist'
echo ' -l, --local Install Xray from a local file'
echo ' -p, --proxy Download through a proxy server, e.g., -p http://127.0.0.1:8118 or -p socks5://127.0.0.1:1080'
目前我用了这个 /etc/wgetrc