summaryrefslogtreecommitdiff
path: root/cmd/rescribe/makefile
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-11-17 17:00:57 +0000
committerNick White <git@njw.name>2022-11-17 17:00:57 +0000
commit84454b513f8b356c95b08336d1f75043b863870e (patch)
tree2ff16c3c58f61b1d22fec92ae5d356a34cddf405 /cmd/rescribe/makefile
parentd9cf2b5568598eb7a5a938fc7ae3a9c001d240c7 (diff)
rescribe: add embed tag to fyne packaging, to ensure embedded parts arent stripped out
Diffstat (limited to 'cmd/rescribe/makefile')
-rw-r--r--cmd/rescribe/makefile4
1 files 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