mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2024-12-11 08:16:18 +01:00
36b9161667
Fix an issue where the launcher does not work if the drive is not C: on some systems.
20 lines
308 B
Batchfile
20 lines
308 B
Batchfile
@echo off
|
|
%~d0
|
|
cd %~dp0
|
|
TITLE KoboldAI - Server
|
|
SET /P M=<loader.settings
|
|
IF %M%==1 GOTO drivemap
|
|
IF %M%==2 GOTO subfolder
|
|
|
|
:subfolder
|
|
call miniconda3\condabin\activate
|
|
python aiserver.py %*
|
|
cmd /k
|
|
|
|
:drivemap
|
|
subst K: miniconda3 >nul
|
|
call K:\python\condabin\activate
|
|
python aiserver.py %*
|
|
subst K: /D
|
|
cmd /k
|