This library is a modernized version of electron-devtools-installer
. It is tested and works on up to electron v24. Min electron version is v11.
yarn add electron-extension-installer
or
npm i --save electron-extension-installer
import { installExtension, REACT_DEVELOPER_TOOLS } from "electron-extension-installer";
app.on("ready", async () => {
await installExtension(REACT_DEVELOPER_TOOLS, {
loadExtensionOptions: {
allowFileAccess: true,
},
});
});