electron-build

Community

Build Electron apps, effortlessly cross-platform.

Authorfattits30-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the complex process of building Electron applications for multiple platforms, especially when dealing with native modules. It automates the intricate toolchain and version compatibility requirements, saving developers significant time and effort.

Core Features & Use Cases

  • Multi-Platform Builds: Generates production-ready installers for Windows (.exe), macOS (.dmg), and Linux (.AppImage, .deb).
  • Native Module Handling: Orchestrates the necessary rebuilds for better-sqlite3 to ensure compatibility with the Electron runtime.
  • Build Validation: Automatically checks for correct Node.js versions and dependency setup to prevent common build failures.
  • Use Case: When preparing a production release, Claude automatically handles the intricate process of building your Electron app for Windows, macOS, and Linux, including rebuilding native modules, so you get ready-to-distribute installers without manual headaches.

Quick Start

Build for all supported platforms (Windows, macOS, Linux)

pnpm build

Build specifically for Windows

pnpm build:win

Rebuild native modules for Electron runtime (critical for success)

pnpm rebuild:electron

Dependency Matrix

Required Modules

electron-builderelectron-rebuildbetter-sqlite3

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: electron-build
Download link: https://github.com/fattits30-dev/Justice-Companion/archive/main.zip#electron-build

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository