Skip to content

Conversation

@erickzhao
Copy link
Member

@erickzhao erickzhao commented Oct 6, 2025

BREAKING CHANGE: ASAR is enabled by default

Closes #35

Since we enable ASAR by default in Electron Forge templates and unpack native node modules using @electron-forge/plugin-auto-unpack-natives, this PR does the same at the Packager level by setting asar.unpack to '**/{.**,**}/**/*.node'.

@erickzhao erickzhao marked this pull request as ready for review October 7, 2025 04:15
@erickzhao erickzhao requested a review from a team as a code owner October 7, 2025 04:15
Clarified default behavior of --asar option regarding native node modules.
@erickzhao erickzhao merged commit 6e69e2d into main Oct 8, 2025
6 checks passed
@erickzhao erickzhao deleted the asar-by-default branch October 8, 2025 23:30
@continuous-auth
Copy link

🎉 This PR is included in version 19.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--asar should be enabled by default

4 participants