Add a pause before the script ends

This commit is contained in:
cmdr2 2022-10-13 15:20:29 +05:30 committed by tildebyte
parent ef505d2bc5
commit 1d3c43b67f
3 changed files with 5 additions and 9 deletions

View File

@ -9,9 +9,6 @@
@rem This enables a user to install this project without manually installing conda and git. @rem This enables a user to install this project without manually installing conda and git.
@rem prevent the window from closing after an error
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
@rem config @rem config
set MAMBA_ROOT_PREFIX=%cd%\installer_files\mamba set MAMBA_ROOT_PREFIX=%cd%\installer_files\mamba
set INSTALL_ENV_DIR=%cd%\installer_files\env set INSTALL_ENV_DIR=%cd%\installer_files\env
@ -76,3 +73,4 @@ 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. @rem it would be nice if the weights downloaded automatically, and didn't need the user to do this manually.
pause

View File

@ -1,11 +1,10 @@
@echo off @echo off
@rem prevent the window from closing after running the commands
if not defined in_subprocess (cmd /k set in_subprocess=y ^& %0 %*) & exit )
set INSTALL_ENV_DIR=%cd%\installer_files\env set INSTALL_ENV_DIR=%cd%\installer_files\env
set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%PATH% set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%PATH%
call conda activate invokeai call conda activate invokeai
echo Ready to dream.. echo Ready to dream..
cmd /k

View File

@ -1,8 +1,5 @@
@echo off @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 INSTALL_ENV_DIR=%cd%\installer_files\env
set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%PATH% set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%PATH%
@ -12,3 +9,5 @@ if exist ".git" (
) )
conda env update conda env update
pause