From 6f51715aad22125af8c40b11bab9aeaacb569552 Mon Sep 17 00:00:00 2001 From: Sarthak Vage Date: Fri, 22 Sep 2023 14:43:01 +0530 Subject: [PATCH] Adding binary scripts --- setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup b/setup index 88f9b4ec..824ca7c2 100755 --- a/setup +++ b/setup @@ -217,15 +217,15 @@ function build_bin() { echo "[*] Binary for ${service_name} ready at ./${service_name}" echo "[*] Binary for ${service_name} ready at ./${service_name}" - GOOS=linux GOARCH=amd64 go build -o frpc_linux_amd64 ./cmd/frpc + GOOS=darwin GOARCH=amd64 go build -o frpc_darwin_amd64 ./cmd/frpc echo "[*] Binary for ${service_name} ready at ./${service_name}" echo "[*] Binary for ${service_name} ready at ./${service_name}" - GOOS=linux GOARCH=amd64 go build -o frpc_linux_amd64 ./cmd/frpc + GOOS=windows GOARCH=amd64 go build -o frpc_windows_amd64 ./cmd/frpc echo "[*] Binary for ${service_name} ready at ./${service_name}" echo "[*] Binary for ${service_name} ready at ./${service_name}" - GOOS=linux GOARCH=amd64 go build -o frpc_linux_amd64 ./cmd/frpc + GOOS=linux GOARCH=amd64 go build -o frps_linux_amd64 ./cmd/frps echo "[*] Binary for ${service_name} ready at ./${service_name}" }