mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
update launcher
This commit is contained in:
@@ -144,7 +144,10 @@ def run_extension_installer(extension_dir):
|
||||
env = os.environ.copy()
|
||||
env['PYTHONPATH'] = os.path.abspath(".")
|
||||
|
||||
print(run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env))
|
||||
stdout = run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env)
|
||||
if stdout is not None:
|
||||
print(stdout)
|
||||
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
|
||||
@@ -261,7 +264,7 @@ def prepare_environment():
|
||||
|
||||
if update_check:
|
||||
version_check(commit)
|
||||
|
||||
|
||||
if "--exit" in sys.argv:
|
||||
print("Exiting because of --exit argument")
|
||||
exit(0)
|
||||
|
||||
Reference in New Issue
Block a user