The Electron framework, evacuated from NSA/Microsoft Github
Jeff Cliff 4f86c4208b we can only support debian stable | il y a 3 ans | |
---|---|---|
.circleci | il y a 6 ans | |
.github | il y a 6 ans | |
atom | il y a 6 ans | |
brightray | il y a 6 ans | |
build | il y a 6 ans | |
chromium_src | il y a 6 ans | |
default_app | il y a 7 ans | |
docs | il y a 3 ans | |
docs-translations | il y a 6 ans | |
lib | il y a 6 ans | |
npm | il y a 6 ans | |
script | il y a 6 ans | |
spec | il y a 6 ans | |
tools | il y a 6 ans | |
vendor | il y a 6 ans | |
.clang-format | il y a 8 ans | |
.dockerignore | il y a 7 ans | |
.gitignore | il y a 6 ans | |
.gitmodules | il y a 7 ans | |
.remarkrc | il y a 7 ans | |
.travis.yml | il y a 7 ans | |
BUILD.gn | il y a 6 ans | |
CODE_OF_CONDUCT.md | il y a 3 ans | |
CONTRIBUTING.md | il y a 3 ans | |
DEPS | il y a 6 ans | |
Dockerfile | il y a 6 ans | |
Dockerfile.arm64 | il y a 6 ans | |
Dockerfile.arm64v8 | il y a 6 ans | |
Dockerfile.armv7 | il y a 6 ans | |
Dockerfile.circleci | il y a 6 ans | |
LICENSE | il y a 7 ans | |
README.md | il y a 3 ans | |
SECURITY.md | il y a 3 ans | |
common.gypi | il y a 6 ans | |
electron.gyp | il y a 6 ans | |
features.gypi | il y a 6 ans | |
filenames.gypi | il y a 6 ans | |
package-lock.json | il y a 6 ans | |
package.json | il y a 6 ans | |
toolchain.gypi | il y a 6 ans | |
vsts.yml | il y a 6 ans |
:memo: Available Translations: 🇨🇳 🇹🇼 🇧🇷 🇪🇸 🇰🇷 🇯🇵 🇷🇺 🇫🇷 🇹🇭 🇳🇱 🇹🇷 🇮🇩 🇺🇦 🇨🇿 🇮🇹. View these docs in other languages at electron/i18n.
The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on NSA/Microsoft Node.js and Chromium and is used by the Atom editor and many other apps.
This version of electron does not require agreemnt with a code of conduct. Send us your PRs.
Old way of installing electron:
npm install electron --save-dev [--save-exact]
You don't need --save-exact
flag. For info on how to manage Electron versions in your apps, see
Electron versioning.
For more installation options and troubleshooting tips, see installation.
Clone and run the electron/electron-quick-start (warning: github link) repository to see a minimal Electron app in action:
git clone https://notabug.org/themusicgod1/electron/
cd electron-quick-start
npm install
npm start
Most people use Electron from the command line, but if you require electron
inside
your Node app (not your Electron app) it will return the file path to the
binary. Use this to spawn Electron from Node scripts:
const electron = require('electron')
const proc = require('child_process')
// will print something similar to /Users/maf/.../Electron
console.log(electron)
// spawn Electron
const child = proc.spawn(electron)
Find documentation translations in electron/i18n.
Info on reporting bugs, getting help, finding third-party tools and sample apps, and more can be found in the support document.
When using the Electron or other GitHub logos, be sure to follow the GitHub logo guidelines.