Skip to content

jonluca/electron-extension-installer

Repository files navigation

Electron Extension Installer

npm Version License

Introduction

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.

Getting Started

yarn add electron-extension-installer

or

npm i --save electron-extension-installer

Usage

import { installExtension, REACT_DEVELOPER_TOOLS } from "electron-extension-installer";

app.on("ready", async () => {
  await installExtension(REACT_DEVELOPER_TOOLS, {
    loadExtensionOptions: {
      allowFileAccess: true,
    },
  });
});