text-generation-webui/update_wsl.bat

12 lines
285 B
Batchfile
Raw Normal View History

2023-06-13 05:04:15 +02:00
@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 calling wsl.sh with 'update' will run updater
call wsl -e bash -lic "sed -i 's/\x0D$//' ./wsl.sh; source ./wsl.sh update"
:end
pause