In packaged Electron apps process.cwd() does not point to the app directory so the mcp-server bundle was never found. Additionally the mcp-server dist was not included in the package at all. Changes: - Bundle mcp-server into a single self-contained ESM file (tsup noExternal + createRequire banner for CJS compat) - Ship mcp-server/dist/index.js and package.json via extraResources - Resolve entry via process.resourcesPath when app.isPackaged is true - Build controller + mcp-server in prebuild so dist exists before electron-builder runs - Add mcp-server/dist/index.js to CI verify steps on all platforms - Improve error message to list checked paths for easier debugging |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| CLA.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| SECURITY.md | ||