From 4cd87e4ea23730bb2681950cdbb00f92bec1fe61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Brezi=C5=84ski?= Date: Sun, 8 May 2022 01:42:55 +0200 Subject: [PATCH 1/2] use curl.exe instead of curl in windows example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0497506..0f527e4d 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ An example that installs llvm, cmake, ninja, ccache, and vcpkg: ```ps1 # 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 RefreshEnv.cmd # activate cpp environment variables @@ -98,7 +98,7 @@ Open the shell as admin, download via `curl`, then install ```ps1 # 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 RefreshEnv.cmd # activate cpp environment variables From ce9b0fc905eff7dbe278f4e269ad2769e8e5450d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Brezi=C5=84ski?= Date: Sun, 8 May 2022 01:46:26 +0200 Subject: [PATCH 2/2] use backslash instead of forward slash in windows example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f527e4d..4cd786da 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ An example that installs llvm, cmake, ninja, ccache, and vcpkg: ```ps1 # windows example (open shell as admin) 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 ```