Explorar el Código

Update install script

V2Ray hace 10 años
padre
commit
0703c4469b
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      release/install.sh

+ 3 - 2
release/install.sh

@@ -31,5 +31,6 @@ if [ -z "$GOPATH" ]; then
 fi
 
 go get -u github.com/v2ray/v2ray-core
-go build -o $GOPATH/bin/v2ray -compiler gc github.com/v2ray/v2ray-core/release/server
-
+rm $GOPATH/bin/build
+go install github.com/v2ray/v2ray-core/tools/build
+$GOPATH/bin/build