From 0b876d7828e575344e9fa5fb98117c2a9bda65e5 Mon Sep 17 00:00:00 2001 From: Arthur Sengileyev Date: Sat, 17 Dec 2022 15:00:29 +0200 Subject: [PATCH] Option to build gvproxy as Windows GUI (background) app Signed-off-by: Arthur Sengileyev --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 33cd578fa..aeb0e3c85 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,11 @@ vm: win-sshproxy: GOOS=windows go build -ldflags -H=windowsgui -o bin/win-sshproxy.exe ./cmd/win-sshproxy +# gvproxy for windows is compiled as a windows GUI to support backgrounding +.PHONY: win-gvproxy +win-gvproxy: + GOOS=windows go build -ldflags -H=windowsgui -o bin/gvproxy.exe ./cmd/gvproxy + .PHONY: clean clean: rm -rf ./bin