electron

electron is an npm module that contains pre-compiled versions of Electron.
If you’ve installed it globally with npm, then you will only need to run the following in your app’s source directory:
electron .
If you’ve installed it locally, then run:

macOS / Linux

$
./node_modules/.bin/electron .

Windows

$
.\node_modules\.bin\electron .

发表评论

您的电子邮箱地址不会被公开。