From d6dc43938d13c31f735ad1d30574aab46b604f02 Mon Sep 17 00:00:00 2001 From: mayor Date: Mon, 12 Jan 2026 03:26:25 -0800 Subject: [PATCH] fix: codesign gt binary after install on macOS The build target was signing the binary, but install just copied it without re-signing. On macOS, copying can invalidate signatures. Co-Authored-By: Claude Opus 4.5 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 9bf840e4..77e58f4b 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,9 @@ endif install: build cp $(BUILD_DIR)/$(BINARY) ~/.local/bin/$(BINARY) +ifeq ($(shell uname),Darwin) + @codesign -s - -f ~/.local/bin/$(BINARY) 2>/dev/null || true +endif clean: rm -f $(BUILD_DIR)/$(BINARY)