mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-10 04:00:24 +00:00
update
This commit is contained in:
parent
453800032e
commit
b5e887a716
2 changed files with 3 additions and 1 deletions
|
|
@ -6,4 +6,4 @@ def bun():
|
|||
|
||||
|
||||
def uv():
|
||||
return os.path.expanduser("~/.local/bin/uv")
|
||||
return os.path.expanduser("~/.eigent/bin/uv")
|
||||
|
|
|
|||
|
|
@ -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"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue