fix v2ray client file download and ss qr create

This commit is contained in:
233boy
2019-03-12 18:17:12 +08:00
parent f4808e2305
commit b6381cabdf
3 changed files with 29 additions and 55 deletions

12
src/client_file.sh Normal file
View File

@@ -0,0 +1,12 @@
_get_client_file() {
local _link="$(cat $v2ray_client_config | tr -d [:space:] | base64 -w0)"
local link="https://233boy.github.io/tools/json.html#${_link}"
echo
echo "---------- V2Ray 客户端配置文件链接 -------------"
echo
echo -e ${cyan}$link${none}
echo
echo " V2Ray 客户端使用教程: https://v2ray6.com/post/4/"
echo
echo
}