Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
fix(lending): build the usual install folders with POSIX joins (#3899)
Milind Soni7b9dd52c43f1
diff --git a/electron/shell-path.mjs b/electron/shell-path.mjsindex bfba27ef95..3e8b02fee9 100644--- a/electron/shell-path.mjs+++ b/electron/shell-path.mjs@@ -24,6 +24,7 @@ let shellPath;export async function commandPath({ platform = process.platform, env = process.env, home = os.homedir(), probe, exists = existsSync } = {}) {if (platform === "win32") return env.PATH;const fromShell = probe ? await probe() : await (shellPath ??= probeShellPath());- const known = ["/opt/homebrew/bin", "/usr/local/bin", path.join(home, ".local", "bin")].filter(dir => exists(dir));+ // POSIX joins: this list is only for macOS and Linux, whatever the host that computes it.+ const known = ["/opt/homebrew/bin", "/usr/local/bin", path.posix.join(home, ".local", "bin")].filter(dir => exists(dir));return [...new Set([fromShell, env.PATH].flatMap(list => list?.split(":") ?? []).concat(known).filter(Boolean))].join(":");}