Skip to content

Releases: Project-N-E-K-O/patch-electron-wayland

Electron v41.2.0 (patched: Wayland setShape → wl_surface_set_input_region)

21 Apr 21:04
2409cfd

Choose a tag to compare

Custom Electron v41.2.0 build for Linux with Wayland setShape passthrough support.

What's patched

  • `BrowserWindow.setShape()` on Wayland maps to `wl_surface_set_input_region`, enabling true click-through

Files

File Description
`electron-v41.2.0-linux-x64-wayland-setshape.zst` Stripped + zstd-compressed electron binary (61MB → 206MB)

Verification

```
SHA256 (stripped, uncompressed): 9c1a3a9faf3f748157d35f071611fc3b4527cb45fb750e8e9b235825f18dacee
```

Usage in CI

```bash
curl -L -o electron.zst /electron-v41.2.0-linux-x64-wayland-setshape.zst
zstd -d electron.zst -o node_modules/electron/dist/electron
chmod +x node_modules/electron/dist/electron
```

Based on Electron v41.2.0 source. Only the main `electron` binary is replaced; all other dist files (libEGL.so, icudtl.dat, etc.) remain stock.