mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 13:04:37 +03:00
chore: pack official released sing-box
This commit is contained in:
@@ -32,12 +32,8 @@ if [ "$GOOS" != "windows" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#### Go: sing-box ####
|
#### Go ext: sing-box ####
|
||||||
pushd $DEST
|
curl -Lso sing-box.zip https://github.com/SagerNet/sing-box/releases/download/v1.0-beta1/sing-box-1.0-beta1-windows-amd64.zip
|
||||||
curl -Lso sing-box.zip https://github.com/SagerNet/sing-box/archive/64dbac813837bbadfaeec1a6e0d064875a123e5e.zip
|
|
||||||
unzip sing-box.zip
|
unzip sing-box.zip
|
||||||
pushd sing-box-*/cmd/sing-box
|
mv sing-box-*/sing-box.exe $DEST
|
||||||
go build -o $DEST -trimpath -ldflags "-w -s"
|
|
||||||
popd
|
|
||||||
rm -rf sing-box.zip sing-box-*
|
rm -rf sing-box.zip sing-box-*
|
||||||
popd
|
|
||||||
|
|||||||
Reference in New Issue
Block a user