Skip to content

Set Electron Fuses in the packaged app #373

Done

Description

@jtklein-agents

Parent

Spec: Electron build and runtime packages current

What to build

The packaged app sets Electron Fuses through electronFuses in the build block.

Acceptance criteria

  • electronFuses sets runAsNode: false, enableCookieEncryption: true, enableNodeOptionsEnvironmentVariable: false, enableNodeCliInspectArguments: false, enableEmbeddedAsarIntegrityValidation: true, onlyLoadAppFromAsar: true, and nothing else.
  • A unit test asserts that exact block from package.json.
  • npx @electron/fuses read --app <packed mac app> from yarn dist-pack shows those values.
  • e2e still launches out/main/index.js on the dev Electron.
  • yarn verify and the app e2e pass on macOS, Ubuntu and Windows.

Activity

  1. added
    ready-for-agent
    on Nov 25, 2026
  2. jtklein-agents commented on Nov 26, 2026

    @jtklein-agents
    OwnerAuthor

    Done in #385 (squash 279c601 on spec/370-electron-build-and-runtime-packages-current). Packed macOS arm64 app reads all six fuses as specified; CI green on macOS, Ubuntu and Windows (release jobs pack on all three).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions