diff --git a/installer/install.bat b/installer/install.bat index aa7c099bcd..ef5789e486 100644 --- a/installer/install.bat +++ b/installer/install.bat @@ -76,4 +76,3 @@ echo "Please follow the steps at https://invoke-ai.github.io/InvokeAI/installati @rem it would be nice if the weights downloaded automatically, and didn't need the user to do this manually. -pause diff --git a/update.bat b/update.bat index cfffd80d51..ae61a45ab2 100644 --- a/update.bat +++ b/update.bat @@ -1,5 +1,8 @@ @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 @@ -9,5 +12,3 @@ if exist ".git" ( ) conda env update - -pause \ No newline at end of file