From 066884ddf4a160baec7c8f3d0974d7aeca1eec6b Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 21 Feb 2022 10:33:07 +0000 Subject: rescribe: add .zip version of .app for mac --- cmd/rescribe/makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmd/rescribe/makefile') diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile index c30f429..ffe2c16 100644 --- a/cmd/rescribe/makefile +++ b/cmd/rescribe/makefile @@ -21,7 +21,7 @@ OSXCROSSBIN=$(HOME)/src/osxcross/target/bin EMBEDS=embed_darwin_amd64.go embed_linux.go embed_windows.go gui.go embed_darwin_arm64.go embed_other.go GODEPS=gui.go main.go $(EMBEDS) -all: dist/linux/rescribe dist/darwin_universal/Rescribe.app dist/windows/rescribe.exe +all: dist/linux/rescribe dist/darwin_universal/rescribe.zip dist/windows/rescribe.exe dist/linux/rescribe: $(GODEPS) go generate @@ -47,6 +47,9 @@ dist/darwin_universal/Rescribe.app: dist/darwin_universal/rescribe fyne package --name Rescribe --exe dist/darwin_universal/rescribe --os darwin --icon icon.png mv Rescribe.app $@ +dist/darwin_universal/rescribe.zip: dist/darwin_universal/Rescribe.app + cd dist/darwin_universal; zip -r rescribe.zip Rescribe.app + dist/windows/rescribe-bin.exe: $(GODEPS) go generate mkdir -p dist/windows -- cgit v1.2.1-24-ge1ad