Skip to content

Commit

Permalink
Update v2ray download path
Browse files Browse the repository at this point in the history
  • Loading branch information
tindy2013 committed Nov 4, 2020
1 parent 57b197a commit 01152d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions scripts/build.alpine.clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ mv trojan ../base/tools/clients/
cd ..

if [[ "$ARCH" = "x86_64" ]];then
curl -LO https://github.com/v2ray/v2ray-core/releases/latest/download/v2ray-linux-64.zip
curl -LO https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-linux-64.zip
curl -LO https://github.com/joewalnes/websocketd/releases/download/v0.3.1/websocketd-0.3.1-linux_amd64.zip
curl -LO https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-linux-amd64-v1.3.1.tar.gz
else if [[ "$ARCH" = "x86" ]];then
curl -LO https://github.com/v2ray/v2ray-core/releases/latest/download/v2ray-linux-32.zip
curl -LO https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-linux-32.zip
curl -LO https://github.com/joewalnes/websocketd/releases/download/v0.3.1/websocketd-0.3.1-linux_386.zip
curl -LO https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-linux-386-v1.3.1.tar.gz
else
curl -LO https://github.com/joewalnes/websocketd/releases/download/v0.3.1/websocketd-0.3.1-linux_arm.zip
if [[ "$ARCH" = "aarch64" ]];then
curl -LO https://github.com/v2ray/v2ray-core/releases/latest/download/v2ray-linux-arm64-v8a.zip
curl -LO https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-linux-arm64-v8a.zip
curl -LO https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-linux-arm64-v1.3.1.tar.gz
else if [[ "$ARCH" = "armhf" ]];then
curl -LO https://github.com/v2ray/v2ray-core/releases/latest/download/v2ray-linux-arm32-v7a.zip
curl -LO https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-linux-arm32-v7a.zip
curl -LO https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-linux-arm-v1.3.1.tar.gz
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.macos.clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cc -Xlinker -unexported_symbol -Xlinker "*" ss_local*.o .libs/libshadowsocks-lib
mv ssr-local ../../base/tools/clients
cd ../..

curl -LO https://github.com/v2ray/v2ray-core/releases/latest/download/v2ray-macos-64.zip
curl -LO https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-macos-64.zip
unzip v2ray*.zip v2ray v2ctl
mv v2ray v2ctl base/tools/clients/

Expand Down
4 changes: 2 additions & 2 deletions scripts/build.windows.clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ mv trojan.exe ../built/
cd ..

if [[ "$MSYSTEM" = "MINGW64" ]];then
curl -LO https://github.com/v2ray/v2ray-core/releases/latest/download/v2ray-windows-64.zip
curl -LO https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-windows-64.zip
curl -LO https://github.com/joewalnes/websocketd/releases/download/v0.3.1/websocketd-0.3.1-windows_amd64.zip
curl -LO https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-windows-amd64-v1.3.1.tar.gz
fi
if [[ "$MSYSTEM" = "MINGW32" ]];then
curl -LO https://github.com/v2ray/v2ray-core/releases/latest/download/v2ray-windows-32.zip
curl -LO https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-windows-32.zip
curl -LO https://github.com/joewalnes/websocketd/releases/download/v0.3.1/websocketd-0.3.1-windows_386.zip
curl -LO https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-windows-386-v1.3.1.tar.gz
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.windows.maindeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -xe
if [ ! -d curl/ ]; then git clone https://github.com/curl/curl --depth=1; fi
cd curl
git pull --ff-only
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_USE_LIBSSH2=OFF -DHTTP_ONLY=ON -DCMAKE_USE_SCHANNEL=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_CURL_EXE=OFF -DCMAKE_INSTALL_PREFIX="$MINGW_PREFIX" -G "Unix Makefiles" .
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_USE_LIBSSH2=OFF -DHTTP_ONLY=ON -DCMAKE_USE_SCHANNEL=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_CURL_EXE=OFF -DCMAKE_INSTALL_PREFIX="$MINGW_PREFIX" -G "Unix Makefiles" -DHAVE_LIBIDN2=OFF .
make install -j4
cd ..

Expand Down

0 comments on commit 01152d6

Please sign in to comment.