Fix MITM on window

This commit is contained in:
decolua
2026-02-28 10:04:57 +07:00
parent 49a56612bf
commit 833069caac
22 changed files with 650 additions and 199 deletions
@@ -21,7 +21,7 @@ const checkClaudeInstalled = async () => {
try {
const isWindows = os.platform() === "win32";
const command = isWindows ? "where claude" : "command -v claude";
await execAsync(command);
await execAsync(command, { windowsHide: true });
return true;
} catch {
return false;
@@ -76,7 +76,7 @@ const checkCodexInstalled = async () => {
try {
const isWindows = os.platform() === "win32";
const command = isWindows ? "where codex" : "command -v codex";
await execAsync(command);
await execAsync(command, { windowsHide: true });
return true;
} catch {
return false;
@@ -17,7 +17,7 @@ const checkDroidInstalled = async () => {
try {
const isWindows = os.platform() === "win32";
const command = isWindows ? "where droid" : "command -v droid";
await execAsync(command);
await execAsync(command, { windowsHide: true });
return true;
} catch {
return false;
@@ -17,7 +17,7 @@ const checkOpenClawInstalled = async () => {
try {
const isWindows = os.platform() === "win32";
const command = isWindows ? "where openclaw" : "command -v openclaw";
await execAsync(command);
await execAsync(command, { windowsHide: true });
return true;
} catch {
return false;