text-generation-webui/start_wsl.bat

12 lines
233 B
Batchfile
Raw Normal View History

@echo off
cd /D "%~dp0"
set PATH=%PATH%;%SystemRoot%\system32
@rem sed -i 's/\x0D$//' ./wsl.sh converts newlines to unix format in the wsl script
2023-09-22 19:37:22 +02:00
call wsl -e bash -lic "sed -i 's/\x0D$//' ./wsl.sh; source ./wsl.sh %*"
:end
pause