Skip to content

Conversation

@gatzjames
Copy link
Contributor

@gatzjames gatzjames commented Oct 9, 2025

Overview

Enables the mergeASAR option in electron builder to store independent code (JavaScript, JSON, HTML) once in a shared ASAR file instead of duplicating it for both Intel and ARM builds, reducing the universal macOS app size.
For our current setup this option only affects macOS builds

  • On the zip file this removes ~2mbs
  • When unzipping the difference is around ~3mbs

TODO:

  • Test the packaged app on macOS ARM
  • Test the packaged app on macOS Intel

@gatzjames gatzjames changed the title test: Merge ASARs chore(pkg): Merge ASARs for universal builds Oct 9, 2025
@gatzjames gatzjames self-assigned this Oct 9, 2025
@gatzjames gatzjames requested a review from a team October 9, 2025 16:44
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