Electron Packager is a command line tool and Node.js library that bundles Electron-based application source code with a renamed Electron executable and supporting files into folders ready for distribution. For creating distributables like installers and Linux packages, consider using either Electron Forge (which uses Electron Packager internally), or one of the related Electron tools, which utilizes Electron Packager-created folders as a basis. Note that packaged Electron applications can be relatively large. A zipped, minimal Electron application is approximately the same size as the zipped prebuilt binary for a given target platform, target arch, and Electron version (files named electron-v${version}-${platform}-${arch}.zip). Building an Electron app for the Windows target platform requires editing the Electron.exe file. Currently, Electron Packager uses node-rcedit to accomplish this.

Features

  • Building an Electron app for the Windows target platform requires editing the Electron.exe file
  • For creating distributables like installers and Linux packages, consider using either Electron Forge
  • It generates executables/bundles for Windows, Mac and Linux
  • If appname is omitted, this will use the name specified by "productName" or "name" in the nearest package.json
  • You should be able to launch the app on the platform you built for. If not, check your settings and try again

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Electron Packager

Electron Packager Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Electron Packager!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Package Managers, JavaScript Command Line Tools

Registered

2021-07-21