Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What should the expected win-unpacked size be? #3607

Closed
wladimir-k-m opened this issue May 6, 2024 · 1 comment
Closed

What should the expected win-unpacked size be? #3607

wladimir-k-m opened this issue May 6, 2024 · 1 comment
Labels

Comments

@wladimir-k-m
Copy link

After cloning the project, installing with npm (or yarn) and packaging I get a "win-unpacked" folder size of 241MB. Is this normal? There is a locales folder with 33MB and a 8.6MB license file which seems unreasonably big. Is there a way to reduce the size? I searched for similar issues but couldn't find anything useful.

@xupea
Copy link
Contributor

xupea commented May 9, 2024

  1. win-unpacked folder size is normal
  2. try electron-builder hooks to delete unnecessary files
  3. try electron-builder's electronLanguages option to keep your desired locales

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants