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

add postinstall script for auto install of optional dependencies; upd… #60

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rubengmurray
Copy link
Collaborator

@rubengmurray rubengmurray commented Jun 30, 2024

Draft PR:

  • Add post install script to take care of optional platform dependencies automatically.


if (process.platform === 'darwin') {
console.log('darwin operating system detected; installing operating system dependency keytar')
execSync('npm i [email protected]')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of what I read suggests this is discouraged practice. Leaving it open as a draft nevertheless as it is a solution that works.

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.

1 participant