Package for electron app publishing which drastically decreases bundle size by caching the prerequisites for apps to work
electron-catalyst like in the following example on a https://github.com/atom/electron-quick-start example app
will generate following the
TestApp.app is the app bundled with
Electron but the other one
TestApp-catalyst is bundled with https://github.com/cenkalti/catalyst which dramatically reduces the file size. Once catalysed version is launched by the end-user catalyst will get the files required in generated config above, if it's already downloaded it will re-use that which is the main trick with the catalyst.
And if one of the catalyst bundled app is executed on the user machine before rest will re-use the existing
electron-packager for generating the traditional package which means you can use any arguments that
electron-packager supports as well.
Whole current implementation has been done in a day at Packathon http://packathon.org/ (Jan 23 '16)
- Add linux, win platform support
- Code cleanup
- Gokmen Goksel (@gokmen)
- Cenk Altı (@cenkalti)