Files
ethernet 51e0d451e3 fix: load the zip extractor only when extraction runs (#52748)
The module-level require of @electron-internal/extract-zip runs before
isInstalled() and before ELECTRON_OVERRIDE_DIST_PATH is read. When an
OS policy blocks the dlopen of the bundled native binding, install.js
dies on line 5 and no short-circuit can help (#52481).

Move the require into extractFile(). An installed dist now passes
isInstalled() without loading the extractor, and the environment
overrides work again.
2026-08-16 02:53:25 -07:00
..