dexploarer/plugin-electrobun-dev/electrobun-release
Claude Code and agent skill by dexploarer/plugin-electrobun-dev
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "release electrobun app", "electrobun auto-update", "configure electrobun updater", "electrobun artifacts", "upload electrobun release", "electrobun update channels", or "bsdiff patch generation".
Install
npx vskill@latest install dexploarer/plugin-electrobun-dev/electrobun-releaseSKILL.md
The same SKILL.md was published earlier as dexploarer/plugin-electrobun-dev/electrobun-release.
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
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
Contents:
App Tarballs
Patch Files
Patches are generated via bsdiff when a previous update.json and tarball are available from baseUrl at build time. If patch generation fails, the full tarball is the fallback.
Installers (for first install, not updates)
| Platform | Stable | Canary | |
|---|---|---|---|
| macOS | MyApp.dmg | MyApp-canary.dmg | |
| Windows | MyApp-Setup.zip (contains MyApp-Setup.exe) | MyApp-Setup-canary.zip | |
| Linux | MyApp-Setup.AppImage | MyApp-Setup-canary.AppImage |
Update Server URLs
The Updater constructs all URLs as:
For a stable build at https://updates.example.com/:
| URL | Purpose | |
|---|---|---|
https://updates.example.com/stable-macos-arm64-update.json | Version check | |
https://updates.example.com/stable-macos-arm64-MyApp.app.tar.zst | Full download | |
https://updates.example.com/stable-macos-arm64-abc123.patch | Incremental patch |
This flat URL scheme works with any static file host: Cloudflare R2, AWS S3, GitHub Releases, or plain nginx.
Updater API
Status Values
| Status | Meaning | |
|---|---|---|
checking | Fetching update.json | |
update-available | Remote hash differs from local hash | |
no-update | Hashes match — already current | |
downloading | Downloading patch or tarball | |
update-ready | Download complete and verified | |
error | Any step failed |
How Version Checking Works
- Fetches
{baseUrl}/{channel}-{os}-{arch}-update.json - Compares remote
hashto localhashinResources/version.json - If hashes differ →
update-available - If identical →
no-update
Hash is SHA-256 of the uncompressed tarball contents.
Download Strategy
- Try patch first: fetch
{channel}-{os}-{arch}-{currentHash}.patch - Apply patch via
bspatchto the local cached tarball - If patch missing or fails: download full
.tar.zsttarball - Decompress with
zig-zstd
Local cache directory (intermediate files during update):
Contains: current tarball, next tarball, temp patch, compressed bundles.
Apply Update — Platform Specifics
| Platform | Method | |
|---|---|---|
| macOS | Removes quarantine attribute, replaces .app bundle, relaunches | |
| Windows | Helper script handles file locking before replacing .exe | |
| Linux | Replaces .AppImage or extracted directory, relaunches |
Uploading Artifacts
Cloudflare R2 (recommended)
AWS S3
rsync to nginx / CDN origin
GitHub Releases (simple, free)
Upload artifacts as release assets. Set baseUrl to the GitHub Releases download URL:
Note: GitHub Releases don't support patch files efficiently (they're all separate assets). Use a CDN if patch generation is important.
Release Checklist
Before every release:
Common Mistakes
| Mistake | Result | Fix | |
|---|---|---|---|
baseUrl missing or wrong | Updates silently never trigger | Set release.baseUrl + verify with curl | |
| Uploaded to wrong path | 404 on update check | Artifacts must be at root of baseUrl, flat — no subdirectories | |
| Skipped codesign | macOS users get "damaged app" | Set codesign: true + provide signing env vars | |
| Skipped notarize | Gatekeeper blocks on first launch | Set notarize: true — required for distribution | |
| Wrong OS string in filename | Update fails silently | OS is macos / win / linux — not darwin / windows | |
| Patch generated before new tarball uploaded | Patch references tarball that doesn't exist | Upload tarballs before running checkForUpdate | |
release.baseUrl has no trailing slash | URL construction breaks | Always end baseUrl with / |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/electrobun-release/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 1
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dexploarer/plugin-electrobun-dev/electrobun-release)