Kcptun installing get back.

This commit is contained in:
Qiu Yuzhou
2018-09-21 12:13:10 +08:00
parent 53aff531fa
commit 6b557c1d6c
5 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#!/bin/sh
# install_kcptun.sh
# ShadowsocksX-NG
#
# Created by 邱宇舟 on 2018/9/21.
# Copyright © 2018年 qiuyuzhou. All rights reserved.
# https://github.com/shadowsocks/kcptun/releases
VERSION="v20170718"
cd `dirname "${BASH_SOURCE[0]}"`
mkdir -p "$HOME/Library/Application Support/ShadowsocksX-NG/kcptun_$VERSION"
cp -f kcptun_client "$HOME/Library/Application Support/ShadowsocksX-NG/kcptun_$VERSION/"
ln -sfh "$HOME/Library/Application Support/ShadowsocksX-NG/kcptun_$VERSION/kcptun_client" "$HOME/Library/Application Support/ShadowsocksX-NG/plugins/kcptun"
echo "install kcptun done"