summaryrefslogtreecommitdiff
path: root/electron-builder.yml
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-03-15 14:13:21 -0500
committerhaoyuren <13851610112@163.com>2026-03-15 14:13:21 -0500
commitd0162055842e5343bca54153f8f9ce83d969f2a3 (patch)
tree780313ea72d1879024a029acf31aa4e91ac8945a /electron-builder.yml
parent61b2e3d2eb7c39fe8575bedd5d4ad3ff0b1dc768 (diff)
Fix MCP server in packaged app: bundle with esbuild, asarUnpack
MCP server was not included in DMG builds. Now esbuild bundles it into a single file (out/mcp/lattex.mjs) with all dependencies inlined, and electron-builder unpacks it from asar so external node can execute it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'electron-builder.yml')
-rw-r--r--electron-builder.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/electron-builder.yml b/electron-builder.yml
index 991af70..6f74aa6 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -25,6 +25,7 @@ files:
- node_modules/binary-extensions/**/*
asarUnpack:
- node_modules/node-pty/**/*
+ - out/mcp/**/*
afterPack: ./scripts/afterPack.js
mac:
icon: resources/icon.icns