text-generation-webui/start_wsl.bat
2023-09-21 15:35:53 -07:00

12 lines
230 B
Batchfile
Executable File

@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
call wsl -e bash -lic "sed -i 's/\x0D$//' ./wsl.sh; source ./wsl.sh"
:end
pause