Skip to content

Platform Detection Error: CommandCam.exe Download Attempted on macOS #72

Description

@yordan-kanchelov

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:
1. Clone the repository on a macOS machine.
2. Run the installation process (npm install or pnpm install).
3. 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.

Environment:
• OS: macOS

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions