fix(desktop): stop signing macOS DMGs (#50469)

Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-09-22 01:35:21 +00:00
committed by GitHub
parent 5b9dc35eec
commit 9d531435b4
2 changed files with 6 additions and 3 deletions
@@ -17,6 +17,12 @@ const channels = [
{ channel: "prod", appId: "ai.opencode.desktop" },
] as const
test("signs the macOS app without signing the DMG", async () => {
const config = (await import("./electron-builder.config.ts?mac-signing")).default as Configuration
expect(config.mac?.sign).toBeFunction()
expect(config.dmg?.sign).not.toBe(true)
})
for (const channel of channels) {
test(`disables security code AutoFill by default for ${channel.channel}`, async () => {
const previous = process.env.OPENCODE_CHANNEL
@@ -123,9 +123,6 @@ const getBase = (appId: string): Configuration => ({
notarize: true,
target: ["dmg", "zip"],
},
dmg: {
sign: true,
},
protocols: {
name: "OpenCode",
schemes: ["opencode"],