Extension install improvements
This commit is contained in:
parent
7f1460af29
commit
814520fed1
2 changed files with 2 additions and 5 deletions
|
@ -34,8 +34,7 @@ def clone_or_pull_repository(github_url):
|
|||
yield f"Cloning {github_url}..."
|
||||
clone_output = subprocess.check_output(["git", "clone", github_url, repo_path], stderr=subprocess.STDOUT)
|
||||
new_extensions.add(repo_name)
|
||||
logger.info(f"The extension {repo_name} has been downloaded. Please close the the web UI and launch it again to be able to load it.")
|
||||
yield "Done."
|
||||
yield(f"The extension `{repo_name}` has been downloaded.\n\nPlease close the the web UI completely and launch it again to be able to load it.")
|
||||
return clone_output.decode()
|
||||
except subprocess.CalledProcessError as e:
|
||||
return str(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue