The current implementation in the postinstall.js script attempts to download CommandCam.exe, which is a Windows-specific executable, even when running on macOS. This results in an error since the executable cannot be used on macOS.
Steps to Reproduce:
Clone the repository on a macOS machine.
Run the installation process (npm install or pnpm install).
Observe that the script attempts to download CommandCam.exe despite being on macOS.
Expected Behavior:
The script should detect that it’s running on macOS and skip the download process for the Windows-specific executable.
Actual Behavior:
The script attempts to download CommandCam.exe, which leads to errors.
The current implementation in the postinstall.js script attempts to download CommandCam.exe, which is a Windows-specific executable, even when running on macOS. This results in an error since the executable cannot be used on macOS.
Steps to Reproduce:
Expected Behavior: The script should detect that it’s running on macOS and skip the download process for the Windows-specific executable.
Actual Behavior: The script attempts to download CommandCam.exe, which leads to errors.
Environment: • OS: macOS