Skip to content

Commit

Permalink
fix: fix arm macos compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Le Saux committed May 14, 2024
1 parent 7b37363 commit 1f59824
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 @@ -102,12 +102,12 @@ build-windows-i386:
(make archive ARCH=386 OS=windows EXT=.exe)

package-darwin:
(make init ARCH=${ARCHITECTURE} OS=darwin)
(make init ARCH=amd64 OS=darwin)
@echo "Compilation and packaging for darwin"
fyne package -os darwin -icon ../../martine-logo.png -sourceDir ${SOURCEDIR} -name martine -appVersion $(appversion)
mkdir -p ${BINARY}/martine-darwin-${ARCHITECTURE}/
cp -r martine.app ${BINARY}/martine-darwin-${ARCHITECTURE}/
(make archive ARCH=${ARCHITECTURE} OS=darwin)
GOARCH=amd64 fyne package -os darwin -icon ../../martine-logo.png -sourceDir ${SOURCEDIR} -name martine -appVersion $(appversion)
mkdir -p ${BINARY}/martine-darwin-amd64/
cp -r martine.app ${BINARY}/martine-darwin-amd64/
(make archive ARCH=amd64 OS=darwin)

package-windows:
(make init ARCH=386 OS=windows EXT=.exe)
Expand Down

0 comments on commit 1f59824

Please sign in to comment.