From 84454b513f8b356c95b08336d1f75043b863870e Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 17 Nov 2022 17:00:57 +0000 Subject: rescribe: add embed tag to fyne packaging, to ensure embedded parts arent stripped out --- cmd/rescribe/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile index 46be367..d9302ea 100644 --- a/cmd/rescribe/makefile +++ b/cmd/rescribe/makefile @@ -44,7 +44,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 --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png + fyne package --tags embed --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png mv Rescribe.app $@ dist/darwin/rescribe.zip: build/darwin/Rescribe.app @@ -58,7 +58,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 --name Rescribe --exe build/windows/rescribe-bin.exe --os windows --icon icon.png + CC="x86_64-w64-mingw32-gcc" fyne package --tags embed --name Rescribe --exe build/windows/rescribe-bin.exe --os windows --icon icon.png mv rescribe.exe $@ # used for flatpak building -- cgit v1.2.1-24-ge1ad