1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-21 18:29:55 -04:00

unified import path

This commit is contained in:
v2ray
2016-08-20 20:55:45 +02:00
parent 6a878432dc
commit 07a86f549b
248 changed files with 759 additions and 757 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# This file is accessible as https://install.direct/go.sh
# Original source is located at github.com/v2ray/v2ray-core/release/install-release.sh
# Original source is located at v2ray.com/core/release/install-release.sh
while [[ $# > 0 ]]
do
@@ -115,7 +115,7 @@ echo "Installing V2Ray ${VER} on ${ARCH}"
if [ -n "$LOCAL" ]; then
cp "$LOCAL" "/tmp/v2ray/v2ray.zip"
else
DOWNLOAD_LINK="https://github.com/v2ray/v2ray-core/releases/download/${VER}/v2ray-linux-${VDIS}.zip"
DOWNLOAD_LINK="https://v2ray.com/core/releases/download/${VER}/v2ray-linux-${VDIS}.zip"
install_component "curl"

View File

@@ -21,7 +21,7 @@ if [ -z "$GOPATH" ]; then
export GOPATH=/v2ray
fi
go get -u github.com/v2ray/v2ray-core
go get -u v2ray.com/core
rm $GOPATH/bin/build
go install github.com/v2ray/v2ray-core/tools/build
go install v2ray.com/core/tools/build
$GOPATH/bin/build