Update Script

Updates KoboldAI to the latest official version, if you want to use United you first manually need to be on that git branch otherwise it gets overwritten with the old one.
This commit is contained in:
henk717 2021-12-14 14:26:04 +01:00
parent c5dec67f13
commit b824ce0b33
1 changed files with 27 additions and 0 deletions

27
update-kobold.bat Normal file
View File

@ -0,0 +1,27 @@
@echo off
%~d0
cd %~dp0
TITLE KoboldAI - Updater
SET /P M=<loader.settings
IF %M%==1 GOTO drivemap
IF %M%==2 GOTO subfolder
:subfolder
call miniconda3\condabin\activate
GOTO GIT
:drivemap
subst K: miniconda3 >nul
call K:\python\condabin\activate
GOTO GIT
:GIT
if exist .git\ (
git checkout -f
) else (
git init
git remote add origin https://github.com/koboldai/koboldai-client
git fetch
git checkout main -f
)
cmd /k