Skip to content

chore: remove unneeded electron-builder flags#3744

Merged
Helias merged 1 commit intomasterfrom
remove-unnecessary-electron-flags
May 3, 2026
Merged

chore: remove unneeded electron-builder flags#3744
Helias merged 1 commit intomasterfrom
remove-unnecessary-electron-flags

Conversation

@Helias
Copy link
Copy Markdown
Member

@Helias Helias commented May 3, 2026

Drop the electronFuses block, win.verifyUpdateCodeSignature, and win.signAndEditExecutable added in #3740. None of them are required for the ssh2 tunnel to work:

  • ssh2's native bindings (sshcrypto.node, cpufeatures.node) are auto-unpacked by Electron and don't conflict with default fuses.
  • onlyLoadAppFromAsar only governs the entry point (main.js), which stays inside the asar.
  • Embedded asar integrity validation is handled correctly by modern electron-builder, including for asarUnpack entries.
  • verifyUpdateCodeSignature only matters when electron-updater is active; Keira3 doesn't ship the auto-updater.
  • signAndEditExecutable: false skipped not only signing (which electron-builder skips automatically without a cert) but also rcedit, which means the portable .exe shipped without its icon or version metadata. Letting it run by default restores both.

Drop the electronFuses block, win.verifyUpdateCodeSignature, and
win.signAndEditExecutable added in #3740. None of them are required
for the ssh2 tunnel to work:

- ssh2's native bindings (sshcrypto.node, cpufeatures.node) are
  auto-unpacked by Electron and don't conflict with default fuses.
- onlyLoadAppFromAsar only governs the entry point (main.js), which
  stays inside the asar.
- Embedded asar integrity validation is handled correctly by modern
  electron-builder, including for asarUnpack entries.
- verifyUpdateCodeSignature only matters when electron-updater is
  active; Keira3 doesn't ship the auto-updater.
- signAndEditExecutable: false skipped not only signing (which
  electron-builder skips automatically without a cert) but also
  rcedit, which means the portable .exe shipped without its icon
  or version metadata. Letting it run by default restores both.
@Helias Helias merged commit 55acbc8 into master May 3, 2026
13 checks passed
@Helias Helias deleted the remove-unnecessary-electron-flags branch May 3, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant