New-Item ... means mkdir -p "$bin" and Invoke-WebRequest ... means curl -Lo "$bin/git.exe" $url.
Since we store wslgit.exe under the name git.exe, we can simply add $bin to the PATH and VS Code will detect wslgit without having to set it up like README.
First of all, congratulations on the release of v1.0.0 :tada::tada::tada: I am a regular user of
wslgit.exe
and am very grateful for this project.Now prior to v1.0.0,
wslgit.exe
was directly included in the release and I used the following powershell script to get it.New-Item ...
meansmkdir -p "$bin"
andInvoke-WebRequest ...
meanscurl -Lo "$bin/git.exe" $url
. Since we storewslgit.exe
under the namegit.exe
, we can simply add$bin
to thePATH
and VS Code will detect wslgit without having to set it up like README.I'd be happy to include
wslgit.exe
again directly in the release to facilitate the second method of installation in the README.