Socket
Book a DemoInstallSign in
Socket

@electron-forge/maker-base

Package Overview
Dependencies
Maintainers
5
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-forge/maker-base

Base maker for Electron Forge

7.8.1
Source
npmnpm
Version published
Weekly downloads
253K
-3.31%
Maintainers
5
Weekly downloads
 
Created

What is @electron-forge/maker-base?

@electron-forge/maker-base is a base class for creating makers in Electron Forge, which are responsible for packaging Electron applications into distributable formats.

What are @electron-forge/maker-base's main functionalities?

Creating a Custom Maker

This code demonstrates how to create a custom maker by extending the MakerBase class. The custom maker can implement its own logic for packaging an Electron application.

const { MakerBase } = require('@electron-forge/maker-base');

class MyCustomMaker extends MakerBase {
  constructor() {
    super();
    this.name = 'my-custom-maker';
  }

  async make({ dir, appName, targetPlatform, targetArch }) {
    console.log(`Making ${appName} for ${targetPlatform} on ${targetArch}`);
    // Custom packaging logic here
  }
}

module.exports = MyCustomMaker;

Other packages similar to @electron-forge/maker-base

FAQs

Package last updated on 09 May 2025

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.