This PR fixes the NPM CLI installer for Windows. There was a smaller issue with the symlink creation, causing the infisical command to not be accessible across the system.
The primary issue was npm couldn't find a file called infisical to create the symlink for, because Windows downloads 3 files with .exe, .ps1, and .cmd extensions. The solution for this was to create an empty file that matches the unix binary file (infisical). See comment in code for further details
Type ✨
[x] Bug fix
[ ] New feature
[ ] Improvement
[ ] Breaking change
[ ] Documentation
Tests 🛠️
# Here's some code block to paste some code snippets
Description 📣
This PR fixes the NPM CLI installer for Windows. There was a smaller issue with the symlink creation, causing the
infisical
command to not be accessible across the system.The primary issue was npm couldn't find a file called
infisical
to create the symlink for, because Windows downloads 3 files with.exe
,.ps1
, and.cmd
extensions. The solution for this was to create an empty file that matches the unix binary file (infisical
). See comment in code for further detailsType ✨
Tests 🛠️