When the OS language is zh_CN , the default value is npmmirror, otherwise it is chrome. session: 'string' | 'Electron.Session' - The target session on which the extension shall be installed, default is session.defaultSession.Returns Promise<Electron.Extension | Electron.Extension[]> - ...
npm install --save @types/electron-devtools-installer Summary This package contains type definitions for electron-devtools-installer (https://github.com/MarshallOfSound/electron-devtools-installer). Details Files were exported fromhttps://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/electron...
npm install electron-devtools-installer --save-dev or yarn add electron-devtools-installer -D Usage All you have to do now is this in themainprocess of your application. importinstallExtension, { REDUX_DEVTOOLS }from'electron-devtools-installer';// Or if you can not use ES6 imports/** cons...
npm install electron-devtools-installer --save-dev or yarn add electron-devtools-installer -D Usage All you have to do now is this in themainprocess of your application. importinstallExtension, { REDUX_DEVTOOLS }from'electron-devtools-installer';// Or if you can not use ES6 imports/** cons...
npm install electron-devtools-installer --save-dev oryarn add electron-devtools-installer -D UsageAll you have to do now is this in the main process of your application.import installExtension, { REDUX_DEVTOOLS } from 'electron-devtools-installer'; // Or if you can not use ES6 imports /*...
[0-9]*.json # runtime data *.pid *.pid.lock *.seed pids # dependency directory bower_components jspm_packages node_modules web_modules # cache .cache .npm .tmp .temp .eslintcache .stylelintcache tsconfig.tsbuildinfo # environment *.local # macOS .DS_Store # package files *.7z *....
这是将DevTool扩展安装到Electron中的简便方法。 您不必费心去下载扩展程序,找到正确的文件夹,然后为每个人的计算机配置路径。 安装 npm install electron-devtools-installer --save-dev 或者 yarn add electron-devtools-installer -D 用法 现在您要做的就是在应用程序的主要过程中进行此操作。 import installExtension...
VersionDownloads (Last 7 Days)Published 1.1.004 years ago 1.0.004 years ago npm ielectron-devtools-installer-bycrx Weekly Downloads 0 Version 1.1.0 License MIT Unpacked Size 12.4 kB Last publish 4 years ago Collaborators Tryon RunKit
"@semantic-release/error" "^2.2.0" aggregate-error "^2.0.0" execa "^1.0.0" fs-extra "^7.0.0" lodash "^4.17.4" nerf-dart "^1.0.0" normalize-url "^4.0.0" npm "^6.8.0" rc "^1.2.8" read-pkg "^4.0.0" registry-auth-token "^3.3.1" "@electron/get@^1.0.1": version "1....
# pnpm pnpm add @tomjs/electron-devtools-installer # yarn yarn add @tomjs/electron-devtools-installer # npm npm add @tomjs/electron-devtools-installer Usage esm import { app } from 'electron'; import { installExtension, VUEJS_DEVTOOLS } from '@tomjs/electron-devtools-installer'; // Inst...