electron/forge

(feat) Pass packagerConfig in Maker

coredev-uk opened this issue · 0 comments

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description

Currently, if you want to have an executable on Linux follow a linux-style application name (lower-case) you have to change the executableName to a lower-case option, but if your application is also being built on macOS changing the exec name to lowercase makes the app name in macOS lowercase also, which is not standard behaviour on macOS. I understand this is an edge case, but this makes the implementation of packager a lot easier to work with in makers.

Proposed solution

The ability to pass packagerConfig options in the maker. This could be done in a separate arg in the maker function.

Alternatives considered

As far as I know, outside of packaging outside of forge, this is not possible.

Additional information

No response