1.0.5 • Published 3 years ago
@ekoneko/evm v1.0.5
Electron version manager
Use global electron binary file for multiple repositories.
How to use
- 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.
- Then add
@ekoneko/evm
by npm or yarn to yourdevDependencies
npm install -D @ekoneko/evm
- use
evm
instead ofelectron
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