text-generation-webui/update_wizard_wsl.bat

12 lines
292 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 calling wsl.sh with 'update' will run updater
2024-03-04 13:52:24 -05:00
call wsl -e bash -lic "sed -i 's/\x0D$//' ./wsl.sh; source ./wsl.sh update-wizard"
:end
pause