From bd6717ec3bf8256b7daf6d2e1a49e112a948e0c5 Mon Sep 17 00:00:00 2001 From: Henk Date: Wed, 21 Dec 2022 02:55:05 +0100 Subject: [PATCH] Submodule support In the near future we will be using a git submodule to integrate the Horde Bridge. The updater needs to support downloading submodules so that our users will automatically get them installed. In this commit all the submodules are automatically updated when you do Kobold updates, and also installed if missing. --- update-koboldai.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/update-koboldai.bat b/update-koboldai.bat index 5e7339a3..728b9f74 100644 --- a/update-koboldai.bat +++ b/update-koboldai.bat @@ -51,6 +51,7 @@ git remote add origin %origin% git fetch --all git checkout %branch% -f git reset --hard origin/%branch% +git submodule update --init --recursive IF %M%==1 umamba.exe install --no-shortcuts -r K:\python\ -n base -f "%~dp0\environments\huggingface.yml" -y --always-copy IF %M%==2 umamba.exe install --no-shortcuts -r miniconda3 -n base -f environments\huggingface.yml -y --always-copy IF %M%==3 umamba.exe install --no-shortcuts -r B:\python\ -n base -f "%~dp0\environments\huggingface.yml" -y --always-copy