1.0.5 • Published 3 years ago

@ekoneko/evm v1.0.5

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

Electron version manager

Use global electron binary file for multiple repositories.

How to use

  1. Before add @ekoneko/evm, ensure your package.json has property build.electronDownload.
"build": {
  "electronDownload": {
    "version": "7.1.2",
    "mirror": "https://npm.taobao.org/mirrors/electron/"
  }
}
  • build.electronDownload.version is required.

These options comes from @electron/get, it also works for electron-builder.

  1. Then add @ekoneko/evm by npm or yarn to your devDependencies
npm install -D @ekoneko/evm
  1. use evm instead of electron to launch your project.
./node_modules/.bin/evm path/to/entry.js

You don't need to install electron for launching. However, you can set ELECTRON_SKIP_BINARY_DOWNLOAD=1 to install electron without download electron binary file for typescript definitions or some other reasons.

ELECTRON_SKIP_BINARY_DOWNLOAD=1 npm install -D electron

Configure

process.env.ELECTRON_VERSION_MANAGER_PATH

Set a path to install electron binary file, default path is ~/.evm.

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0-test.4

4 years ago

1.0.0-test.3

4 years ago

1.0.0-test.2

4 years ago

1.0.0-test

4 years ago

1.0.0

4 years ago