インストールと初回起動†
[local] munakata:~/latex/LFS201/program$ npm -v
6.14.4
- electron の初回起動 (npx electron)
[local] munakata:~$ npx electron
Electron 13.1.6 - Build cross platform desktop apps with JavaScript, HTML, and CSS
Usage: electron [options] [path]
A path to an Electron app may be specified. It must be one of the following:
- index.js file.
- Folder containing a package.json file.
- Folder containing an index.js file.
- .html/.htm file.
- http://, https://, or file:// URL.
Options:
-i, --interactive Open a REPL to the main process.
-r, --require Module to preload (option can be repeated).
-v, --version Print the version.
-a, --abi Print the Node ABI version.
参考 URL†