Skip to content

On Windows, the binary is copied to an incorrect path #1368

@timfish

Description

@timfish

With the latest version of the CLI installed, the directory layout looks like below. This means the binary is at ./js/..sentry-cli.exe:

image

This is no doubt due to this code:

sentry-cli/js/helper.js

Lines 9 to 11 in 6f91736

let binaryPath = eval(
"require('path').resolve(__dirname, require('os').platform() === 'win32' ? '..\\sentry-cli.exe' : '../sentry-cli')"
);

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