Added "git pull" and "git stash" to the commands run by the cmd scripts when launching the UI, this should make it so people who use it can automatically update the code from the repo and be up to date without manually using those commands everytime.

This commit is contained in:
ZeroCool940711 2022-09-07 19:21:34 -07:00
parent 53f4fa96af
commit 70e4fa1c47
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,9 @@ IF "%CONDA_PATH%"=="" (
exit /b 1
)
call git stash
call git pull
:foundPath
call "%CONDA_PATH%\Scripts\activate.bat"
call conda env create -n "%conda_env_name%" -f environment.yaml

View File

@ -35,6 +35,9 @@ IF "%CONDA_PATH%"=="" (
exit /b 1
)
call git stash
call git pull
:foundPath
call "%CONDA_PATH%\Scripts\activate.bat"
call conda env create -n "%conda_env_name%" -f environment.yaml