This commit is contained in:
parent
93b8668e9e
commit
006c337de5
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ const getOpenClawSettingsPath = () => path.join(getOpenClawDir(), "openclaw.json
|
||||||
const checkOpenClawInstalled = async () => {
|
const checkOpenClawInstalled = async () => {
|
||||||
try {
|
try {
|
||||||
const isWindows = os.platform() === "win32";
|
const isWindows = os.platform() === "win32";
|
||||||
const command = isWindows ? "where openclaw" : "command -v openclaw";
|
const command = isWindows ? "where openclaw" : "which openclaw";
|
||||||
await execAsync(command, { windowsHide: true });
|
await execAsync(command, { windowsHide: true });
|
||||||
return true;
|
return true;
|
||||||
} catch {
|
} catch {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue