mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
update install.sh
This commit is contained in:
parent
ef8b2355ed
commit
72736b0447
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user