Skip to content

Commit

Permalink
fix zipping of darwin gui binary
Browse files Browse the repository at this point in the history
  • Loading branch information
synfinatic committed Jul 25, 2021
1 parent d7d4dd2 commit a0ffbe3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ $(DARWIN_RELEASE_GUI): $(GO_FILES) | .build-gui-check .prepare
@fyne package -appID net.synfin.alpacascope -name AlpacaScope \
-appVersion $(PROJECT_VERSION) \
-os darwin -sourceDir gui -icon $(shell pwd)/Icon.png && \
zip $(DARWIN_RELEASE_GUI) AlpacaScope.app && \
zip -r $(DARWIN_RELEASE_GUI) AlpacaScope.app && \
rm -rf AlpacaScope.app


Expand All @@ -211,10 +211,10 @@ windows-release: $(WINDOWS_RELEASE_GUI) ## Build Windows/x86_64 release GUI

$(WINDOWS_RELEASE_GUI): $(GO_FILES) | .build-windows-check .prepare
@rm -f dist/AlpacaScope-$(PROJECT_VERSION).exe && \
fyne package -appID net.synfin.AlpacaScope -name net.synfin.AlpacaScope \
-appVersion $(PROJECT_VERSION) -appBuild $(BUILD_ID) -os windows -release \
-sourceDir gui -icon $(shell pwd)/Icon.png && \
mv gui/gui.exe $(WINDOWS_RELEASE_GUI)
fyne package -appID net.synfin.AlpacaScope -name net.synfin.AlpacaScope \
-appVersion $(PROJECT_VERSION) -appBuild $(BUILD_ID) -os windows -release \
-sourceDir gui -icon $(shell pwd)/Icon.png && \
mv gui/gui.exe $(WINDOWS_RELEASE_GUI)

linux-gui: $(LINUX_GUI) ## Build Linux/x86_64 GUI

Expand Down

0 comments on commit a0ffbe3

Please sign in to comment.