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

App size grows with every run of electrify by about 400 MB (MacOS) #68

Open
derwok opened this issue Oct 20, 2016 · 1 comment
Open

Comments

@derwok
Copy link

derwok commented Oct 20, 2016

Electrifying my meteor app on MacOS, with every call of:
electrify package -- --icon /path/to/icon.icns
our Project.app grows about 400 MB (without me ever running the app, just consecutive package runs!). After 1st call the app is 240MB, then 680MB, then 1.1 GB, then 1,5 GB.
If I kill the ".dis" directory, the app is initially build with 240 MB, again.

Whenn digging into the created app package (bundle), I see that inside the huge outer app, multiple recursive .dist directories are stored in there... So, not only exists .electrify/.dist/Project.app - but also inside there lives a further ".dist" here:

  • .electrify/.dist/Project-darwin-x64/Project.app/Contents/Resources/app/.dist and in there:
  • .electrify/.dist/Project-darwin-x64/Project.app/Contents/Resources/app/.dist/Project-darwin-x64/Project.app/Contents/Resources/app/.dist

... and so on.
With every call to electrify a further ".dist" is embedded into the app.

@derwok
Copy link
Author

derwok commented Oct 20, 2016

Hint: as a workaround I currently do a rm -rf .electrify/.dist before every call to electrify package

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

No branches or pull requests

1 participant