electrobun-release

Solid

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.

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 Release Publishing an Electrobun app means hosting a static set of artifacts and pointing the app's `baseUrl` at them. The Updater polls `update.json`, downloads the tarball or a binary patch, and replaces the running app. --- ## Release Channels | Channel | Built with | Updates | Codesign | |---------|-----------|---------|---------| | `stable` | `--env=stable` | Yes | Required | | `canary` | `--env=canary` | Yes | Required | | `dev` | `electrobun dev` | Disabled | Skipped | Each channel is independent: a user can have `MyApp` (stable) and `MyApp-canary` (canary) installed side-by-side. App data lives in separate directories per channel: - macOS: `~/Library/Application Support/{identifier}/{channel}/` - Windows: `%LOCALAPPDATA%/{identifier}/{channel}/` - Linux: `~/.local/share/{identifier}/{channel}/` --- ## Configuration ```typescript // electrobun.config.ts export default defineConfig({ release: { baseUrl: "https://updates.example.com/", // required for updates generatePatch: true, // default: true } }); ``` `baseUrl` is embedded in `version.json` at build time. The Updater reads it at runtime to construct all update URLs. Without `baseUrl`, updates are silently disabled. --- ## Artifact Naming All remote artifacts follow `{channel}-{os}-{arch}-{filename}`. OS strings: `macos` / `win` / `linux` ### Update Manifest ``` {channel}-{os}-{arch}-update.json Examples: stable-macos-arm64-update.json s...

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