Skip to content

huang-x-h/electron-devtools-installer-offline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An easy way to ensure Chrome DevTools extensions into Electron. Support offline

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%