do not install the "update" script

- The update script doesn't work yet, so we shouldn't install it.
- For now, users update by re-running the installer.
This commit is contained in:
Lincoln Stein 2023-02-03 18:14:40 -05:00 committed by Eugene Brodsky
parent 0d141c1d84
commit 813f92a1ae

View File

@ -355,7 +355,10 @@ class InvokeAiInstance:
ext = "bat" if OS == "Windows" else "sh"
for script in ["invoke", "update"]:
#scripts = ['invoke', 'update']
scripts = ['invoke']
for script in scripts:
src = Path(__file__).parent / "templates" / f"{script}.{ext}.in"
dest = self.runtime / f"{script}.{ext}"
shutil.copy(src, dest)