mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
12 lines
285 B
Batchfile
12 lines
285 B
Batchfile
|
@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
|