fix: replace child_process with cross-spawn

This commit is contained in:
Haileyesus
2026-04-10 16:37:47 +03:00
parent a8dab0edcf
commit 11733918e5
15 changed files with 17 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
import fs from 'fs';
import path from 'path';
import os from 'os';
import { spawn } from 'child_process';
import { spawn } from 'cross-spawn';
const PLUGINS_DIR = path.join(os.homedir(), '.claude-code-ui', 'plugins');
const PLUGINS_CONFIG_PATH = path.join(os.homedir(), '.claude-code-ui', 'plugins.json');