InvokeAI/update.bat
2022-10-26 15:38:08 -04:00

15 lines
353 B
Batchfile

@echo off
@rem prevent the window from closing after an error
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
set INSTALL_ENV_DIR=%cd%\installer_files\env
set PATH=%PATH%;%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts
@rem update the repo
if exist ".git" (
call git pull
)
conda env update