Skip to content

Commit

Permalink
rm v2ctl
Browse files Browse the repository at this point in the history
  • Loading branch information
quzard committed Feb 6, 2023
1 parent 34e6815 commit 66c78eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions scripts/build.alpine.clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [[ "$ARCH" = "x86_64" ]];then
fi
fi

unzip v2ray*.zip v2ray v2ctl
unzip v2ray*.zip v2ray
unzip websocketd*.zip websocketd
if [[ "$ARCH" = "armhf" ]];then
tar xvf v2ray-plugin*.gz v2ray-plugin_linux_arm7
Expand All @@ -78,7 +78,6 @@ fi
strip -s websocketd
mv v2ray-plugin_* base/tools/clients/v2ray-plugin
mv v2ray base/tools/clients/
mv v2ctl base/tools/clients/
mv websocketd base/tools/gui/

chmod +rx base/tools/clients/* base/tools/gui/websocketd
4 changes: 2 additions & 2 deletions scripts/build.macos.clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ mv ssr-local ../../base/tools/clients
cd ../..

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/
unzip v2ray*.zip v2ray
mv v2ray base/tools/clients/

curl -LO https://github.com/trojan-gfw/trojan/releases/download/v1.16.0/trojan-1.16.0-macos.zip
unzip trojan*.zip trojan/trojan
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 @@ -117,12 +117,12 @@ curl -LO https://github.com/shadowsocksrr/shadowsocksr-csharp/releases/download/
7z x ShadowsocksR-win-4.9.2.zip ShadowsocksR-win-4.9.2/ShadowsocksR-dotnet2.0.exe
mv ShadowsocksR-win-4.9.2/ShadowsocksR-dotnet2.0.exe built/shadowsocksr-win.exe

unzip v2ray*.zip v2ray.exe v2ctl.exe
unzip v2ray*.zip v2ray.exe
unzip websocketd*.zip websocketd.exe
tar xvf v2ray-plugin*.gz
rm v2ray-plugin*.gz
mv v2ray-plugin* built/v2ray-plugin.exe
mv v2ray.exe v2ctl.exe built/
mv v2ray.exe built/
mv websocketd.exe built/websocketd.exe

set +xe

0 comments on commit 66c78eb

Please sign in to comment.