V2Ray : Update SN core to 5.0.16

This commit is contained in:
Hellojack
2022-07-03 16:52:48 +08:00
committed by GitHub
parent 99480e99c3
commit 01f60926ce

View File

@@ -1,6 +1,6 @@
Set-Location (Split-Path $MyInvocation.MyCommand.Path -Parent) Set-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
git clone https://github.com/SagerNet/v2ray-core.git -b 'v5.0.14' src git clone https://github.com/SagerNet/v2ray-core.git -b 'v5.0.16' src
if ( -Not $? ) { if ( -Not $? ) {
exit $lastExitCode exit $lastExitCode
} }
@@ -25,4 +25,4 @@ $Env:GOOS='windows'
$Env:GOARCH='amd64' $Env:GOARCH='amd64'
go mod tidy # necessary go mod tidy # necessary
go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w -buildid=' -o '..\..\release\v2ray-sn.exe' '.\main' go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w -buildid=' -o '..\..\release\v2ray-sn.exe' '.\main'
exit $lastExitCode exit $lastExitCode