electrobun-platform

Solid

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.

API & Backend 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 Cross-Platform Reference ## Platform Support Matrix | Platform | OS value | Arch | Status | Default Webview | |---|---|---|---|---| | macOS ARM64 | `macos` | `arm64` | Stable | WKWebView | | macOS Intel | `macos` | `x64` | Stable | WKWebView | | Windows x64 | `win` | `x64` | Stable | WebView2 (Edge) | | Windows ARM64 | `win` | `arm64` | Via emulation | Runs x64 binary | | Linux x64 | `linux` | `x64` | Stable | GTKWebKit | | Linux ARM64 | `linux` | `arm64` | Stable | GTKWebKit | Build each platform on its native OS — no cross-compilation. ## Linux — Always Bundle CEF GTKWebKit has severe limitations: - **No webview layering** (no overlapping webviews) - **No masking** - **No `<electrobun-webview>` compositing** - **Renderer mixing not supported** — all webviews must use same renderer For anything beyond a single-webview app on Linux: ```typescript // electrobun.config.ts build: { linux: { bundleCEF: true, defaultRenderer: 'cef' }, } ``` ## Windows — Console Output Production Windows builds use the GUI subsystem — no console for end users. ```cmd set ELECTROBUN_CONSOLE=1 .\MyApp.exe ``` Has no effect on macOS or Linux. Dev builds auto-attach a console. ## Webview Hidden/Passthrough Behavior ```typescript // macOS: hidden and passthrough are INDEPENDENT webviewSetHidden(webviewId, true); // hidden, still intercepts clicks webviewSetPassthrough(webviewId, true); // separate call for click-through // Windows & Linux: hidden = hidden + passthroug...

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