From e94c232d0af91c3dd4e2a7fd05e1fa9073b2ac00 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 9 Apr 2024 09:09:42 +0100 Subject: Fix make rules setting version string correctly, and fix up flatpak build rules further --- cmd/rescribe/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/rescribe/makefile') diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile index 4047ff0..bc177a4 100644 --- a/cmd/rescribe/makefile +++ b/cmd/rescribe/makefile @@ -50,7 +50,7 @@ build/darwin/rescribe: build/darwin_amd64/rescribe build/darwin_arm64/rescribe build/darwin/Rescribe.app: build/darwin/rescribe go install fyne.io/fyne/v2/cmd/fyne@v2.1.2 - fyne package --release --certificate Rescribe --id xyz.rescribe.rescribe --tags embed --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png --appVersion $VERSION + fyne package --release --certificate Rescribe --id xyz.rescribe.rescribe --tags embed --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png --appVersion $(VERSION) codesign -s Rescribe Rescribe.app mv Rescribe.app $@ @@ -65,7 +65,7 @@ build/windows/rescribe-bin.exe: $(GODEPS) dist/windows/rescribe.exe: build/windows/rescribe-bin.exe mkdir -p dist/windows - CC="x86_64-w64-mingw32-gcc" fyne package --tags embed --name Rescribe --exe build/windows/rescribe-bin.exe --os windows --icon icon.png --appVersion $VERSION + CC="x86_64-w64-mingw32-gcc" fyne package --tags embed --name Rescribe --exe build/windows/rescribe-bin.exe --os windows --icon icon.png --appVersion $(VERSION) mv rescribe.exe $@ # used for flatpak building -- cgit v1.2.1-24-ge1ad