use curl.exe instead of curl in windows example

This commit is contained in:
Gabriel Breziński 2022-05-08 01:42:55 +02:00
parent 1d9949e428
commit 4cd87e4ea2
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ An example that installs llvm, cmake, ninja, ccache, and vcpkg:
```ps1 ```ps1
# windows example (open shell as admin) # windows example (open shell as admin)
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp_windows.exe" curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp_windows.exe"
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true ./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
RefreshEnv.cmd # activate cpp environment variables RefreshEnv.cmd # activate cpp environment variables
@ -98,7 +98,7 @@ Open the shell as admin, download via `curl`, then install
```ps1 ```ps1
# open shell as admin # open shell as admin
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp.js" curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp.js"
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
RefreshEnv.cmd # activate cpp environment variables RefreshEnv.cmd # activate cpp environment variables