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

View File

@@ -15,3 +15,15 @@ _qr_create() {
echo
rm -rf /etc/v2ray/vmess_qr.json
}
_ss_qr() {
local ss_link="ss://$(echo -n "${ssciphers}:${sspass}@${ip}:${ssport}" | base64 -w 0)#v2ray6.com_ss_${ip}"
local link="https://233boy.github.io/tools/qr.html#${ss_link}"
echo
echo "---------- Shadowsocks 二维码链接 -------------"
echo
echo -e "$yellow 链接 = $cyan$link$none"
echo
echo -e " 温馨提示...$red Shadowsocks Win 4.0.6 $none客户端可能无法识别该二维码"
echo
echo
}