mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
fix build
This commit is contained in:
@@ -12,11 +12,11 @@ Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/H1JK/b3165a99b635dcc0
|
||||
# Download Simple-Obfs plugin
|
||||
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/H1JK/b3165a99b635dcc06101690e4c43b5fd/raw/691b471f3b395a949d03a3d064d93d319d4997b7/obfs.go' -OutFile '.\proxy\shadowsocks\plugin\self\obfs.go'
|
||||
|
||||
# Enable ReadV (Use v2fly/v2ray-core's ReadV code)
|
||||
# Enable ReadV (Use old ReadV code)
|
||||
Remove-Item '.\common\buf\io.go'
|
||||
Remove-Item '.\common\buf\readv_reader.go'
|
||||
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/v2fly/v2ray-core/master/common/buf/io.go' -OutFile '.\common\buf\io.go'
|
||||
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/v2fly/v2ray-core/master/common/buf/readv_reader.go' -OutFile '.\common\buf\readv_reader.go'
|
||||
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/SagerNet/v2ray-core/2711fd1/common/buf/io.go' -OutFile '.\common\buf\io.go'
|
||||
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/SagerNet/v2ray-core/2711fd1/common/buf/readv_reader.go' -OutFile '.\common\buf\readv_reader.go'
|
||||
|
||||
$Env:CGO_ENABLED='0'
|
||||
$Env:GOROOT_FINAL='/usr'
|
||||
|
||||
Reference in New Issue
Block a user