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"