diff --git a/backend/app/component/command.py b/backend/app/component/command.py index 0f8e549a6..1b320dc88 100644 --- a/backend/app/component/command.py +++ b/backend/app/component/command.py @@ -6,4 +6,4 @@ def bun(): def uv(): - return os.path.expanduser("~/.local/bin/uv") + return os.path.expanduser("~/.eigent/bin/uv") diff --git a/electron/main/init.ts b/electron/main/init.ts index f993b60d2..709244035 100644 --- a/electron/main/init.ts +++ b/electron/main/init.ts @@ -21,10 +21,12 @@ export async function checkToolInstalled() { return new Promise(async (resolve, reject) => { if (!(await isBinaryExists('uv'))) { resolve({success: false, message: "uv doesn't exist"}) + return } if (!(await isBinaryExists('bun'))) { resolve({success: false, message: "Bun doesn't exist"}) + return } resolve({success: true, message: "Tools exist already"})