arboleya / electrify

Package your Meteor apps with Electron, and butter
MIT License
247 stars 52 forks source link

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

Open derwok opened 8 years ago

derwok commented 8 years ago

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:

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

derwok commented 8 years ago

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