diff --git a/ShadowsocksX-NG/LaunchAgentUtils.swift b/ShadowsocksX-NG/LaunchAgentUtils.swift index 5200443..d397629 100644 --- a/ShadowsocksX-NG/LaunchAgentUtils.swift +++ b/ShadowsocksX-NG/LaunchAgentUtils.swift @@ -9,7 +9,7 @@ import Foundation let SS_LOCAL_VERSION = "3.1.3" -let KCPTUN_CLIENT_VERSION = "20170322" +let KCPTUN_CLIENT_VERSION = "v20170718" let PRIVOXY_VERSION = "3.0.26.static" let SIMPLE_OBFS_VERSION = "0.0.2" let APP_SUPPORT_DIR = "/Library/Application Support/ShadowsocksX-NG/" diff --git a/ShadowsocksX-NG/install_kcptun.sh b/ShadowsocksX-NG/install_kcptun.sh index f30b4b4..6615fbb 100755 --- a/ShadowsocksX-NG/install_kcptun.sh +++ b/ShadowsocksX-NG/install_kcptun.sh @@ -6,13 +6,19 @@ # Created by 邱宇舟 on 2017/1/11. # Copyright © 2017年 qiuyuzhou. All rights reserved. -VERSION="20170322" +# 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/" + rm -f "$HOME/Library/Application Support/ShadowsocksX-NG/kcptun_client" ln -s "$HOME/Library/Application Support/ShadowsocksX-NG/kcptun_$VERSION/kcptun_client" "$HOME/Library/Application Support/ShadowsocksX-NG/kcptun_client" +rm -f "$HOME/Library/Application Support/ShadowsocksX-NG/plugins/kcptun" +ln -s "$HOME/Library/Application Support/ShadowsocksX-NG/kcptun_$VERSION/kcptun_client" "$HOME/Library/Application Support/ShadowsocksX-NG/plugins/kcptun" + echo "install kcptun done" diff --git a/ShadowsocksX-NG/kcptun_client b/ShadowsocksX-NG/kcptun_client index 0ed88fc..ccb973e 100755 Binary files a/ShadowsocksX-NG/kcptun_client and b/ShadowsocksX-NG/kcptun_client differ