This commit is contained in:
Wendong-Fan 2025-09-30 23:55:49 +08:00
parent 453800032e
commit b5e887a716
2 changed files with 3 additions and 1 deletions

View file

@ -6,4 +6,4 @@ def bun():
def uv():
return os.path.expanduser("~/.local/bin/uv")
return os.path.expanduser("~/.eigent/bin/uv")

View file

@ -21,10 +21,12 @@ export async function checkToolInstalled() {
return new Promise<PromiseReturnType>(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"})