electron-devtools-installer-offline

0.1.4 • Public • Published

Electron DevTools Offline Installer

Base on electron-devtools-installer, add offline extensions folder install support.

Why

Because in somewhere can not connect ChromeStore, so add offline install support.

The extensions folder is store extensions file. When install extensions, will looking for the folder, if doesn't exits then connect ChromeStore to download.

Install

$ npm install electron-devtools-installer-offline --save-dev

Usage

import installExtension, {
  REACT_DEVELOPER_TOOLS
} from 'electron-devtools-installer-offline';
 
installExtension(REACT_DEVELOPER_TOOLS);

Support offline extensions, these extensions are all download already in extensions folder.

import installExtension, {
  EMBER_INSPECTOR, REACT_DEVELOPER_TOOLS,
  ANGULARJS_BATARANG, VUEJS_DEVTOOLS,
  REDUX_DEVTOOLS,
} from 'electron-devtools-installer-offline';

API

installExtension(chromeStoreID, forceDownload=false)

Install DevTool extensions into Electron.

  • chromeStoreID is ChromeStore ID of the extension
  • forceDownload set true will ignore the offline extensions files.

Package Sidebar

Install

npm i electron-devtools-installer-offline

Weekly Downloads

1

Version

0.1.4

License

MIT

Last publish

Collaborators

  • huang.xinghui