Portability Bugfix

Fix an issue where the launcher does not work if the drive is not C: on some systems.
This commit is contained in:
henk717
2021-11-24 08:23:08 +01:00
committed by GitHub
parent 4e791b2f2d
commit 36b9161667

View File

@@ -1,4 +1,5 @@
@echo off @echo off
%~d0
cd %~dp0 cd %~dp0
TITLE KoboldAI - Server TITLE KoboldAI - Server
SET /P M=<loader.settings SET /P M=<loader.settings
@@ -15,4 +16,4 @@ subst K: miniconda3 >nul
call K:\python\condabin\activate call K:\python\condabin\activate
python aiserver.py %* python aiserver.py %*
subst K: /D subst K: /D
cmd /k cmd /k