Bump Electron to 39.0.0 (#55395)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55395

Upgrade from Electron 37.x → 39.x , which includes compiling for macOS 26.

Changelog: [Internal]

**Breaking changes from Electron 37.2.6 → 39.0.0:**

**Electron 38.0.0**
- Removed `ELECTRON_OZONE_PLATFORM_HINT` env var
- Removed `ORIGINAL_XDG_CURRENT_DESKTOP` env var
- Removed macOS 11 support (minimum now macOS 12)
- Removed `plugin-crashed` event from webContents
- Deprecated `webFrame.routingId` (use `frameToken`)
- Deprecated `webFrame.findFrameByRoutingId()` (use `findFrameByToken()`)
- Linux now defaults to Wayland (force X11 with `--ozone-platform=x11`)

**Electron 39.0.0**
- Deprecated `--host-rules` flag (use `--host-resolver-rules`)
- `window.open` popups now always resizable (WHATWG spec)
- Shared texture OSR `paint` event structure changed

Reviewed By: motiz88

Differential Revision: D92154326

fbshipit-source-id: 4e7399107bfcaf5592f6d873a36d09369804f605
This commit is contained in:
Alex Hunt authored and meta-codesync[bot] committed 2026-02-04 11:46:28 -08:00
1 parent 978d5a2d4f
commit 96c97e08b1
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@
"fb-dotslash": "0.5.8"
},
"devDependencies": {
"electron": "37.2.6",
"electron": "39.0.0",
"semver": "^7.1.3"
},
"files": [