Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't run binary on install #32

Merged

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.

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