feat!: enable `asar` by default by erickzhao · Pull Request #1841 · electron/packager · GitHub
Skip to content

feat!: enable asar by default#1841

Merged
erickzhao merged 3 commits into
mainfrom
asar-by-default
Oct 8, 2025
Merged

feat!: enable asar by default#1841
erickzhao merged 3 commits into
mainfrom
asar-by-default

Conversation

@erickzhao

@erickzhao erickzhao commented Oct 6, 2025

Copy link
Copy Markdown
Member

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
Comment thread usage.txt Outdated
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
Copy Markdown

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

3 participants