The Electron framework, evacuated from NSA/Microsoft Github
Jeff Cliff 4f86c4208b we can only support debian stable | 3 years ago | |
---|---|---|
.circleci | 6 years ago | |
.github | 6 years ago | |
atom | 6 years ago | |
brightray | 6 years ago | |
build | 6 years ago | |
chromium_src | 6 years ago | |
default_app | 7 years ago | |
docs | 3 years ago | |
docs-translations | 6 years ago | |
lib | 6 years ago | |
npm | 6 years ago | |
script | 6 years ago | |
spec | 6 years ago | |
tools | 6 years ago | |
vendor | 6 years ago | |
.clang-format | 8 years ago | |
.dockerignore | 6 years ago | |
.gitignore | 6 years ago | |
.gitmodules | 7 years ago | |
.remarkrc | 7 years ago | |
.travis.yml | 7 years ago | |
BUILD.gn | 6 years ago | |
CODE_OF_CONDUCT.md | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
DEPS | 6 years ago | |
Dockerfile | 6 years ago | |
Dockerfile.arm64 | 6 years ago | |
Dockerfile.arm64v8 | 6 years ago | |
Dockerfile.armv7 | 6 years ago | |
Dockerfile.circleci | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 3 years ago | |
SECURITY.md | 3 years ago | |
common.gypi | 6 years ago | |
electron.gyp | 6 years ago | |
features.gypi | 6 years ago | |
filenames.gypi | 6 years ago | |
package-lock.json | 6 years ago | |
package.json | 6 years ago | |
toolchain.gypi | 6 years ago | |
vsts.yml | 6 years ago |
: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.