1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04:00

update install.sh

This commit is contained in:
Darien Raymond 2017-06-04 23:08:48 +02:00
parent ef8b2355ed
commit 72736b0447
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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