Socket
Book a DemoInstallSign in
Socket

electron-winstaller

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-winstaller

Module to generate Windows installers for Electron apps

5.4.0
latest
Source
npmnpm
Version published
Weekly downloads
245K
1.17%
Maintainers
2
Weekly downloads
 
Created

What is electron-winstaller?

The electron-winstaller package is a tool for creating Windows installers for Electron applications. It simplifies the process of packaging and distributing Electron apps on Windows by generating a Windows installer (MSI or EXE) from your Electron app.

What are electron-winstaller's main functionalities?

Creating a Windows Installer

This feature allows you to create a Windows installer for your Electron application. The code sample demonstrates how to use the `createWindowsInstaller` function to specify the app directory, output directory, authors, and the executable name. The promise resolves when the installer is successfully created.

const electronInstaller = require('electron-winstaller');

resultPromise = electronInstaller.createWindowsInstaller({
  appDirectory: '/path/to/app',
  outputDirectory: '/path/to/output',
  authors: 'My App Inc.',
  exe: 'myapp.exe'
});

resultPromise.then(() => console.log('Installer created successfully!'),
  (e) => console.log(`Error: ${e.message}`));

Other packages similar to electron-winstaller

FAQs

Package last updated on 23 Jul 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.