electrobun-build

Solid

Use when building an Electrobun app for distribution, setting up code signing, understanding platform-specific build requirements, or diagnosing build failures. Covers dev/canary/stable environments, all three platforms, toolchain prerequisites, artifact output, and CI/CD setup.

AI & Automation 394 stars 68 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
86
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Electrobun Build Builds a distributable app bundle and installer for the current platform using `electrobun build`. ## Build Environments | Environment | Command | Codesign | Updates | Patch gen | |-------------|---------|----------|---------|-----------| | `dev` | `electrobun dev` | No | Disabled | No | | `canary` | `electrobun build --env=canary` | Yes (if configured) | Enabled | Yes | | `stable` | `electrobun build --env=stable` | Yes (if configured) | Enabled | Yes | `ELECTROBUN_BUILD_ENV` is set automatically by the CLI and passed to `postBuild` scripts — you do not set it manually. --- ## Platform Prerequisites ### macOS (Intel + Apple Silicon) ```bash xcode-select --install # Xcode Command Line Tools brew install cmake ``` **Produces:** `.dmg` installer + `.app.tar.zst` update tarball **Toolchain:** `clang++` + `make` + `install_name_tool` (all from Xcode CLT) **Architectures:** `arm64` (Apple Silicon), `x64` (Intel) — build runs on matching host ### Windows - **Visual Studio 2022** with component `Microsoft.VisualStudio.Component.VC.Tools.x86.x64` - **cmake** (available via VS installer or standalone) The CLI uses `vswhere.exe` to find VS and `vcvarsall.bat` to configure the environment automatically. **Produces:** `.exe` self-extracting installer (in a `.zip`) + `.tar.zst` update tarball **Toolchain:** `cl.exe` + `link.exe` via MSVC **Architecture:** `x64` only ### Linux ```bash sudo apt-get install -y \ build-essential \ cmake \ pkg-config \...

Details

Author
milady-ai
Repository
milady-ai/milady
Created
3 months ago
Last Updated
today
Language
HTML
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

electrobun-dev

Use when running Electrobun in development mode — electrobun dev, --watch flag, hot reload, CEF devtools, debugging the renderer, or understanding the dev build cycle.

394 Updated today
milady-ai
AI & Automation Solid

electrobun-workflow

The master Electrobun development lifecycle guide. Use for any Electrobun project to understand where you are in the pipeline and what comes next. Links all stages together.

394 Updated today
milady-ai
API & Backend Solid

electrobun-platform

Cross-platform specifics for Electrobun apps — platform support matrix, Linux/Windows/macOS behavioral differences, CEF requirements by platform, events API, security patterns, CI release matrix, artifact naming, and common pitfalls. Use when targeting multiple platforms, handling platform-specific bugs, setting up CI, or understanding webview differences.

394 Updated today
milady-ai
AI & Automation Solid

electrobun-release

Use when distributing Electrobun apps, configuring auto-updates, uploading artifacts, understanding update channels, or integrating the Updater API. Covers artifact naming, update.json format, bsdiff patch generation, upload targets, and the full Updater lifecycle.

394 Updated today
milady-ai
AI & Automation Solid

electrobun-core

Use when working on any Electrobun desktop app — BrowserWindow, BrowserView, events, app lifecycle, ApplicationMenu, Tray, and electrobun.config.ts. Activates automatically when editing Electrobun project files.

394 Updated today
milady-ai