Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fix(release): sign the DMG container on signed builds (#284)

Leo08842c046d95
diff --git a/.changeset/sign-dmg-container.md b/.changeset/sign-dmg-container.md
new file mode 100644
index 000000000..fa9af1967
--- /dev/null
+++ b/.changeset/sign-dmg-container.md
@@ -0,0 +1,4 @@
+---
+---
+
+Empty changeset: release build tooling only; the shipped app is unchanged.
diff --git a/scripts/build-desktop-artifact.ts b/scripts/build-desktop-artifact.ts
index 01d55e972..907887a2e 100644
--- a/scripts/build-desktop-artifact.ts
+++ b/scripts/build-desktop-artifact.ts
@@ -1904,6 +1904,10 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
],
iconSize: 80,
iconTextSize: 12,
+ // The release workflow asserts a primary signature on the DMG container
+ // (spctl --type open --context context:primary-signature), and
+ // electron-builder leaves DMGs unsigned by default.
+ ...(signed ? { sign: true } : {}),
};
}