Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-packager

Package Overview
Dependencies
Maintainers
5
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-packager

Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI

  • 17.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
142K
increased by2.37%
Maintainers
5
Weekly downloads
 
Created

What is electron-packager?

Electron Packager is a command line tool and Node.js library that bundles Electron-based applications into platform-specific executables. It simplifies the process of packaging and distributing Electron apps for Windows, macOS, and Linux.

What are electron-packager's main functionalities?

Cross-platform Packaging

This feature allows you to package your Electron app for different platforms such as Windows, macOS, and Linux. The code sample demonstrates how to package an app for Windows 64-bit architecture.

electron-packager . MyApp --platform=win32 --arch=x64

Customizable Output

You can specify the output directory and overwrite existing files. The code sample shows how to set the output directory to 'dist' and overwrite any existing files.

electron-packager . MyApp --out=dist --overwrite

App Metadata Configuration

This feature allows you to set application metadata such as app version and build version. The code sample demonstrates setting the app version to 1.0.0 and the build version to 100.

electron-packager . MyApp --app-version=1.0.0 --build-version=100

Other packages similar to electron-packager

Keywords

FAQs

Package last updated on 18 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc