Files
netch/Other/shadowsocks-rust/build.ps1
Connection Refused 220c58600e [Other] Update scripts
2021-09-26 21:29:54 +08:00

15 lines
354 B
PowerShell

Set-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
git clone https://github.com/shadowsocks/shadowsocks-rust -b 'v1.11.2' src
if ( -Not $? ) {
exit $lastExitCode
}
Set-Location src
cargo build --release
if ( -Not $? ) {
exit $lastExitCode
}
cp -Force '.\target\release\sslocal.exe' '..\..\release\ss-local.exe'
exit 0