/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tools/mcp/github-artifacts/launch.js
14 строк
391 B
Gordon Lam
docs(prompts): Enhance release notes generation and implement GitHub issue tools (#44762)
21 янв 2026, 11:18
Не верифицирован
21 янв 2026, 11:18
5422bc3
Код
Авторство
О чём код?
import { existsSync } from "fs"; import { execSync } from "child_process"; import { fileURLToPath } from "url"; import { dirname } from "path"; const __dirname = dirname(fileURLToPath(import.meta.url)); process.chdir(__dirname); if (!existsSync("node_modules")) { console.log("[MCP] Installing dependencies..."); execSync("npm install", { stdio: "inherit" }); } import("./server.js");