electron-extension-installer
v2.0.3
Published
Install any extension into electron
Downloads
38,426
Readme
Electron Extension Installer
Introduction
This library is a modernized version of electron-devtools-installer for Electron 36 and newer.
Getting Started
yarn add electron-extension-installeror
npm i --save electron-extension-installerUsage
import { installExtension, REACT_DEVELOPER_TOOLS } from "electron-extension-installer";
app.on("ready", async () => {
await installExtension(REACT_DEVELOPER_TOOLS, {
loadExtensionOptions: {
allowFileAccess: true,
},
});
});Built-in extension references include a minimum working version. Cached extensions older than that version are
downloaded again automatically; pass forceDownload: true to refresh an extension regardless of its cached version.
Compatibility override files are pinned to an immutable repository revision and verified with SHA-256 before loading.
