install-mcp.jsにファイルパスの取得を追加し、interactive-setup.tsの手順を更新。コマンドをnpxからnodeに変更し、設定手順を明確化。
This commit is contained in:
parent
d9098425bd
commit
fec21a03c7
2 changed files with 12 additions and 6 deletions
|
|
@ -3,6 +3,10 @@
|
|||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import readline from 'readline';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const rl = readline.createInterface({
|
||||
input: process.stdin,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue