chaimi-bookkeeping-mcp 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -195,8 +195,8 @@ function showWelcome() {
|
|
|
195
195
|
showWelcome();
|
|
196
196
|
configureAllAgents();
|
|
197
197
|
|
|
198
|
-
// 启动 server.js
|
|
199
|
-
const child = spawn(
|
|
198
|
+
// 启动 server.js - 使用当前 Node.js 可执行文件路径,解决跨平台兼容性问题
|
|
199
|
+
const child = spawn(process.execPath, [serverPath], {
|
|
200
200
|
stdio: 'inherit',
|
|
201
201
|
env: process.env
|
|
202
202
|
});
|