Skip to content

Move asar process after copyExtraResources #853

Open
@nick-michael

Description

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Spec:
We have a requirement to execute some code after the icons and name change have all been complete, but before the app.asar has been generated.

Looking at the code we can't see any reason that the asar needs to happen during the initialize, and would like to make a change to move this after the .then(() => this.copyExtraResources()) has been executed. We then need a hook similar to afterCopy and afterPrune e.t.c. that we can tap into. This would either be done as an afterCopyExtraResources hook or a beforeAsar hook, whichever is preferred.

Before we get working on this it would be great to have some feedback as to whether a PR for this would be accepted, and any ideas about the implementation (for example, the choice between a before and after hook)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requesthelp wantedNeeds a contributor from the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions