electron / electron/forge

Feature Request: Maker-specific packagerConfig changes

Open
#3,727 0 comments 0 reactions 0 assignees View on GitHub
make
Dominant language
TypeScript
Stars
7.1k
Forks
641
Avg merge
3d 17m
Merged PRs (30d)
32

Description

### Pre-flight checklist

- [x] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [x] 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.