summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2024-02-06 20:13:01 +0000
committerNick White <git@njw.name>2024-02-06 20:13:16 +0000
commit4e06a0bce9b1f31858ddd951c236246dfb0ae56a (patch)
treed868650e5fdf93b7a5923daca3ccf8d9f79be651
parent47bbea7c7d433976acc0a3380f3fb782a64b1499 (diff)
Fix signing of MacOS build
-rw-r--r--cmd/rescribe/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile
index d9302ea..9677fce 100644
--- a/cmd/rescribe/makefile
+++ b/cmd/rescribe/makefile
@@ -44,7 +44,8 @@ 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 --tags embed --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png
+ fyne package --release --certificate Rescribe --id xyz.rescribe.rescribe --tags embed --name Rescribe --exe build/darwin/rescribe --os darwin --icon icon.png
+ codesign -s Rescribe Rescribe.app
mv Rescribe.app $@
dist/darwin/rescribe.zip: build/darwin/Rescribe.app