Skip to content

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

License

Notifications You must be signed in to change notification settings

gokmen/electron-catalyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published