appId: io.stephenmann.commitea productName: CommiTea copyright: © CommiTea # Pinned because electron is hoisted by the yarn workspace and declared with a # caret range, which electron-builder can't resolve on its own. Keep in sync with # the electron devDependency. electronVersion: 34.5.8 directories: buildResources: build output: dist # The renderer, preload, and main are already bundled into out/ by electron-vite # (@commitea/core, react, react-dom are all inlined). So the packaged app needs # nothing from node_modules except the Electron runtime that electron-builder # supplies — ship only the build output. files: - out/** - '!**/*.map' npmRebuild: false electronLanguages: - en mac: target: - target: dmg arch: - arm64 - x64 category: public.app-category.developer-tools icon: build/icon.png # Unsigned, per the distribution decision (macOS, no certs). Teammates # right-click → Open the first time to get past Gatekeeper. identity: null # Keep hardened-runtime off — it only matters for signed/notarized builds # and can block an unsigned app from launching. hardenedRuntime: false gatekeeperAssess: false dmg: title: CommiTea ${version} # A plain drag-to-Applications layout. contents: - x: 130 y: 220 type: file - x: 410 y: 220 type: link path: /Applications