From 1f59824bb762d6d4ff950f844ad358767430eae9 Mon Sep 17 00:00:00 2001 From: Jerome Le Saux Date: Tue, 14 May 2024 11:29:14 +0200 Subject: [PATCH] fix: fix arm macos compilation issue --- makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 0f8f3fb..6c34348 100644 --- a/makefile +++ b/makefile @@ -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)