diff --git a/release/install.sh b/release/install.sh index fe1cca696..b3f289225 100755 --- a/release/install.sh +++ b/release/install.sh @@ -1,7 +1,7 @@ #!/bin/bash -GO_AMD64=https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz -GO_X86=https://storage.googleapis.com/golang/go1.6.2.linux-386.tar.gz +GO_AMD64=https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz +GO_X86=https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz ARCH=$(uname -m) GO_CUR=${GO_AMD64} @@ -21,7 +21,8 @@ if [ -z "$GOPATH" ]; then export GOPATH=/v2ray fi -go get -u v2ray.com/core -rm $GOPATH/bin/build -go install v2ray.com/core/tools/build -$GOPATH/bin/build +go get -u v2ray.com/core/... +go get -u v2ray/com/ext/... +rm $GOPATH/bin/vbuild +go install v2ray.com/ext/tools/build/vbuild +$GOPATH/bin/vbuild