Skip to content

Conversation

@koterpillar
Copy link
Contributor

This PR changes the postinstall script to try installing the binary but not run it. In corporate environments where users have anti-virus-like software that stops arbitrary binaries from running, this lets the package be installed at all (as a dependency). Then the callers can prompt the user to either figure out how to run the binary and re-download it (using install) or proceed with reduced functionality.

Fixes #31.

@changeset-bot
Copy link

changeset-bot bot commented Feb 12, 2025

🦋 Changeset detected

Latest commit: a095103

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JacobLinCool JacobLinCool self-requested a review February 12, 2025 11:35
@JacobLinCool JacobLinCool merged commit f1dfb1b into JacobLinCool:main Feb 12, 2025
15 checks passed
@github-actions github-actions bot mentioned this pull request Feb 12, 2025
@koterpillar koterpillar deleted the dont-run-binary-on-install branch February 12, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't fail package installation if binary can't be downloaded/run

2 participants