From 38af26e232d6a5fd981d40981b702a1d06a3b8ee Mon Sep 17 00:00:00 2001 From: Sudarsan Reddy Date: Wed, 21 Jul 2021 10:31:16 +0100 Subject: [PATCH] TUN-4755: Add a windows msi release option to Make --- Makefile | 4 ++++ cloudflared.wxs | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 cloudflared.wxs diff --git a/Makefile b/Makefile index eae3724c..141e477d 100644 --- a/Makefile +++ b/Makefile @@ -227,6 +227,10 @@ homebrew-release: homebrew-upload release: bin/equinox bin/equinox release $(EQUINOX_FLAGS) -- $(VERSION_FLAGS) $(IMPORT_PATH)/cmd/cloudflared +.PHONY: build-msi +build-msi: + wixl --define Version=$(VERSION) --define Path=$(EXECUTABLE_PATH) cloudflared.wxs + .PHONY: github-release github-release: cloudflared python3 github_release.py --path $(EXECUTABLE_PATH) --release-version $(VERSION) diff --git a/cloudflared.wxs b/cloudflared.wxs new file mode 100644 index 00000000..057fbcb4 --- /dev/null +++ b/cloudflared.wxs @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + NOT NEWERVERSIONDETECTED + + + + + + + + + + + + + + + + + + + + + + + +