mirror of
https://github.com/netchx/netch.git
synced 2026-04-29 21:59:34 +08:00
15 lines
354 B
PowerShell
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 |