diff --git a/Other/cloak/build.ps1 b/Other/cloak/build.ps1 index 72d8e4a3..666fe588 100644 --- a/Other/cloak/build.ps1 +++ b/Other/cloak/build.ps1 @@ -5,17 +5,13 @@ if ( -Not $? ) { Pop-Location exit $lastExitCode } -Push-Location src -Push-Location 'cmd\ck-client' $Env:CGO_ENABLED='0' $Env:GOROOT_FINAL='/usr' $Env:GOOS='windows' $Env:GOARCH='amd64' -go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w' -o '..\..\..\..\release\ck-client.exe' -Pop-Location +go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w' -o '..\release\ck-client.exe' '.\src\cmd\ck-client' -Pop-Location Pop-Location exit $lastExitCode \ No newline at end of file diff --git a/Other/v2ray-plugin/build.ps1 b/Other/v2ray-plugin/build.ps1 index 3d0bc358..9cdc4fe7 100644 --- a/Other/v2ray-plugin/build.ps1 +++ b/Other/v2ray-plugin/build.ps1 @@ -5,15 +5,13 @@ if ( -Not $? ) { Pop-Location exit $lastExitCode } -Push-Location src $Env:CGO_ENABLED='0' $Env:GOROOT_FINAL='/usr' $Env:GOOS='windows' $Env:GOARCH='amd64' -go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w' -o '..\..\release\v2ray-plugin.exe' +go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w' -o '..\release\v2ray-plugin.exe' '.\src' -Pop-Location Pop-Location exit $lastExitCode \ No newline at end of file diff --git a/Other/xray-plugin/build.ps1 b/Other/xray-plugin/build.ps1 index 84cd5d5d..5e511d72 100644 --- a/Other/xray-plugin/build.ps1 +++ b/Other/xray-plugin/build.ps1 @@ -5,15 +5,13 @@ if ( -Not $? ) { Pop-Location exit $lastExitCode } -Push-Location src $Env:CGO_ENABLED='0' $Env:GOROOT_FINAL='/usr' $Env:GOOS='windows' $Env:GOARCH='amd64' -go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w' -o '..\..\release\xray-plugin.exe' +go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w' -o '..\release\xray-plugin.exe' '.\src' -Pop-Location Pop-Location exit $lastExitCode \ No newline at end of file