Installer for WSL (#78)
This commit is contained in:
parent
53496ffa80
commit
c42f183d3f
6 changed files with 200 additions and 3 deletions
11
update_wsl.bat
Normal file
11
update_wsl.bat
Normal file
|
@ -0,0 +1,11 @@
|
|||
@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
|
Loading…
Add table
Add a link
Reference in a new issue