Package for electron app publishing which drastically decreases bundle size by caching the prerequisites for apps to work
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
catalyst/darwin
src
.gitignore
LICENSE
README.md
cli.coffee
package.json
usage.txt

README.md

electron-catalyst

Package for electron app publishing which drastically decreases bundle size by caching the prerequisites for apps to work

By using 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 version.

This uses 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)

TODO

  • Add linux, win platform support
  • Code cleanup

AUTHORS

  • Gokmen Goksel (@gokmen)
  • Cenk Altı (@cenkalti)