From 586531bdbc32d24366a84d1f12714237473374a8 Mon Sep 17 00:00:00 2001 From: BhagwanSingh Date: Mon, 8 Dec 2025 07:42:23 +0530 Subject: [PATCH] a 8-12 --- build-all.sh | 13 +++++++++++++ src/electron/utils/utilityFunctions.ts | 2 +- src/ui/layout/DashboardLayout.tsx | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 build-all.sh diff --git a/build-all.sh b/build-all.sh new file mode 100644 index 0000000..691e010 --- /dev/null +++ b/build-all.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Windows +GOOS=windows GOARCH=amd64 go build -o ./bin/win/wireguard-go.exe ./wireguard-go + +# Linux +GOOS=linux GOARCH=amd64 go build -o ./bin/linux/wireguard-go ./wireguard-go + +# macOS Intel +GOOS=darwin GOARCH=amd64 go build -o ./bin/mac/wireguard-go ./wireguard-go + +# macOS ARM +GOOS=darwin GOARCH=arm64 go build -o ./bin/mac/wireguard-go-arm ./wireguard-go diff --git a/src/electron/utils/utilityFunctions.ts b/src/electron/utils/utilityFunctions.ts index 0a15c7d..17d3319 100644 --- a/src/electron/utils/utilityFunctions.ts +++ b/src/electron/utils/utilityFunctions.ts @@ -68,7 +68,7 @@ export const handleLogin = async (credentials: { email: string, password: string try { console.log("➡️ Calling API..."); const response = await axios.post( - 'https://daniela-nonprofessed-boastfully.ngrok-free.app/api/v1/va/login', + 'quality-friendly-goldfish.ngrok-free.app/api/v1/va/login', { userDetails: { ...credentials } }, { headers: { "ngrok-skip-browser-warning": 69420 }, httpsAgent } ); diff --git a/src/ui/layout/DashboardLayout.tsx b/src/ui/layout/DashboardLayout.tsx index 46d39d8..d1142e4 100644 --- a/src/ui/layout/DashboardLayout.tsx +++ b/src/ui/layout/DashboardLayout.tsx @@ -588,7 +588,7 @@ const DashboardLayout = () => { if (!selectedProject?.projectId) return console.log(selectedProject?.projectId, "SelectedProject ID") - socketRef.current = io("https://daniela-nonprofessed-boastfully.ngrok-free.app", { + socketRef.current = io("quality-friendly-goldfish.ngrok-free.app", { transports: ["websocket"], secure: true, rejectUnauthorized: false,