mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 03:10:21 +00:00
run installers for newly installed extensions
This commit is contained in:
@@ -134,6 +134,9 @@ def install_extension_from_url(dirname, url):
|
||||
|
||||
os.rename(tmpdir, target_dir)
|
||||
|
||||
import launch
|
||||
launch.run_extension_installer(target_dir)
|
||||
|
||||
extensions.list_extensions()
|
||||
return [extension_table(), html.escape(f"Installed into {target_dir}. Use Installed tab to restart.")]
|
||||
finally:
|
||||
|
Reference in New Issue
Block a user