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

View file

@ -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;