summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-02-05 16:12:01 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2019-02-05 16:12:01 +0100
commit761af1f3faa106e4f95ae85600b0c2f579cf6f23 (patch)
treea4b5774b507266fd722ea87367ee34e29604d043
parent0fe7de180f7a0311b092bf2e31a043138a59fcf6 (diff)
[pkg] adapt makefile for windows after code refactor
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2360e18..dffb77a 100755
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ openvpn_cross_win:
helper_win:
go build -ldflags "-s -w" -o $(STAGING)/$(HELPER_BIN).exe $(SYSTRAY)/cmd/bitmask-helper
systray_win:
- go get -u $(SYSTRAY)
+ go get -u $(SYSTRAY)/cmd/bitmask-vpn
powershell '$$gopath=go env GOPATH;$$version=git -C $$gopath/src/$(SYSTRAY) describe --tags; go build -ldflags "-H windowsgui -s -w -X main.version=$$version" -o $(STAGING)/$(SYSTRAY_BIN).exe $(SYSTRAY)/cmd/bitmask-vpn'
build_win: staging\nssm.exe helper_win systray_win
# since it's tedious, I assume you did bootstrap openvpn_win manually already.