Skip to content

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 keytar@7.9.0')
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.

2 participants