Skip to content

Add Electron Fuses to the packaging pipeline #3076

Description

@erickzhao

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

In Electron, Fuses are package-time toggle features that can disable certain features on a per-app basis. For example, apps might not want to ship with the ELECTRON_RUN_AS_NODE capability, and can turn it off for their app with a fuse.

See https://www.electronjs.org/docs/latest/tutorial/fuses

Proposed solution

Forge should include a way to easily configure fuses in the packaging process.

Alternatives considered

This can be implemented in various manners in the Forge process, and we don't really have existing guidelines on which one is better:

  • As an opt-in plugin
  • As a built-in part of the Forge config
  • As a written how-to guide in the Forge docs

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions