From cfb5e0f9e0ecb650a31086d6707a446d5817f47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Wed, 12 Jun 2024 08:37:48 +0200 Subject: [PATCH] Fixed build flags, bumped to v3 --- .gitea/workflows/build.yaml | 3 ++- main.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d98002c..446340e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,7 +19,8 @@ jobs: - name: Compile go binaries env: GOOS: 'windows' - run: go build -v + GOARCH: 'amd64' + run: go build -v -ldflags -H=windowsgui - name: Create release id: use-go-action uses: https://gitea.com/actions/release-action@main diff --git a/main.go b/main.go index a22f4a9..6208d84 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ import ( "time" ) -const VERSION = "v2" +const VERSION = "v3" const SPOOLDIR = "C:\\Program Files\\Gibon\\wg-spool" const DOMAIN = "https://vpn.gibonuddevalla.se"