Skip to content

Share lib script with npm postinstall script #3371

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

Closed
code-asher opened this issue May 12, 2021 · 1 comment
Closed

Share lib script with npm postinstall script #3371

code-asher opened this issue May 12, 2021 · 1 comment
Labels
enhancement Some improvement that isn't a feature
Milestone

Comments

@code-asher
Copy link
Member

  1. Change lib.sh to use sh to match the postinstall script.
  2. Will need to change some syntax like remove local. Will need to do something about pushd/popd as well. (Alternatively we could move the arch and asar methods into a separate shared file).
  3. Include lib.sh in the npm package.
  4. Source lib.sh in the postinstall and remove the duplicated methods.
  5. arch method is slightly different so may need to make some changes there.
@code-asher code-asher added the enhancement Some improvement that isn't a feature label May 12, 2021
@code-asher code-asher added this to the On Deck milestone May 12, 2021
@stale
Copy link

stale bot commented Nov 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

@stale stale bot added the stale label Nov 8, 2021
@stale stale bot closed this as completed Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

1 participant