Skip to content

Commit

Permalink
28.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 1, 2024
1 parent 72f7956 commit 6db0390
Show file tree
Hide file tree
Showing 8 changed files with 21,492 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright (c) Electron contributors
Copyright (c) 2013-2020 GitHub Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
115 changes: 115 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
[![Electron Logo](https://electronjs.org/images/electron-logo.svg)](https://electronjs.org)

[![CircleCI Build Status](https://circleci.com/gh/electron/electron/tree/main.svg?style=shield)](https://circleci.com/gh/electron/electron/tree/main)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/4lggi9dpjc1qob7k/branch/main?svg=true)](https://ci.appveyor.com/project/electron-bot/electron-ljo26/branch/main)
[![Electron Discord Invite](https://img.shields.io/discord/745037351163527189?color=%237289DA&label=chat&logo=discord&logoColor=white)](https://discord.gg/electronjs)

:memo: Available Translations: 🇨🇳 🇧🇷 🇪🇸 🇯🇵 🇷🇺 🇫🇷 🇺🇸 🇩🇪.
View these docs in other languages on our [Crowdin](https://crowdin.com/project/electron) project.

The Electron framework lets you write cross-platform desktop applications
using JavaScript, HTML and CSS. It is based on [Node.js](https://nodejs.org/) and
[Chromium](https://www.chromium.org) and is used by the [Atom
editor](https://github.com/atom/atom) and many other [apps](https://electronjs.org/apps).

Follow [@electronjs](https://twitter.com/electronjs) on Twitter for important
announcements.

This project adheres to the Contributor Covenant
[code of conduct](https://github.com/electron/electron/tree/main/CODE_OF_CONDUCT.md).
By participating, you are expected to uphold this code. Please report unacceptable
behavior to [[email protected]](mailto:[email protected]).

## Installation

To install prebuilt Electron binaries, use [`npm`](https://docs.npmjs.com/).
The preferred method is to install Electron as a development dependency in your
app:

```sh
npm install electron --save-dev
```

For more installation options and troubleshooting tips, see
[installation](docs/tutorial/installation.md). For info on how to manage Electron versions in your apps, see
[Electron versioning](docs/tutorial/electron-versioning.md).

## Platform support

Each Electron release provides binaries for macOS, Windows, and Linux.

* macOS (Catalina and up): Electron provides 64-bit Intel and ARM binaries for macOS. Apple Silicon support was added in Electron 11.
* Windows (Windows 10 and up): Electron provides `ia32` (`x86`), `x64` (`amd64`), and `arm64` binaries for Windows. Windows on ARM support was added in Electron 5.0.8. Support for Windows 7, 8 and 8.1 was [removed in Electron 23, in line with Chromium's Windows deprecation policy](https://www.electronjs.org/blog/windows-7-to-8-1-deprecation-notice).
* Linux: The prebuilt binaries of Electron are built on Ubuntu 20.04. They have also been verified to work on:
* Ubuntu 14.04 and newer
* Fedora 24 and newer
* Debian 8 and newer

## Quick start & Electron Fiddle

Use [`Electron Fiddle`](https://github.com/electron/fiddle)
to build, run, and package small Electron experiments, to see code examples for all of Electron's APIs, and
to try out different versions of Electron. It's designed to make the start of your journey with
Electron easier.

Alternatively, clone and run the
[electron/electron-quick-start](https://github.com/electron/electron-quick-start)
repository to see a minimal Electron app in action:

```sh
git clone https://github.com/electron/electron-quick-start
cd electron-quick-start
npm install
npm start
```

## Resources for learning Electron

* [electronjs.org/docs](https://electronjs.org/docs) - All of Electron's documentation
* [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments
* [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - A very basic starter Electron app
* [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community

## Programmatic usage

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:

```javascript
const electron = require('electron')
const proc = require('node:child_process')

// will print something similar to /Users/maf/.../Electron
console.log(electron)

// spawn Electron
const child = proc.spawn(electron)
```

### Mirrors

* [China](https://npmmirror.com/mirrors/electron/)

See the [Advanced Installation Instructions](https://www.electronjs.org/docs/latest/tutorial/installation#mirror) to learn how to use a custom mirror.

## Documentation translations

We crowdsource translations for our documentation via [Crowdin](https://crowdin.com/project/electron).
We currently accept translations for Chinese (Simplified), French, German, Japanese, Portuguese,
Russian, and Spanish.

## Contributing

If you are interested in reporting/fixing issues and contributing directly to the code base, please see [CONTRIBUTING.md](CONTRIBUTING.md) for more information on what we're looking for and how to get started.

## Community

Info on reporting bugs, getting help, finding third-party tools and sample apps,
and more can be found on the [Community page](https://www.electronjs.org/community).

## License

[MIT](https://github.com/electron/electron/blob/main/LICENSE)

When using Electron logos, make sure to follow [OpenJS Foundation Trademark Policy](https://openjsf.org/wp-content/uploads/sites/84/2021/01/OpenJS-Foundation-Trademark-Policy-2021-01-12.docx.pdf).
77 changes: 77 additions & 0 deletions checksums.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"chromedriver-v28.2.1-darwin-arm64.zip": "3abdfccb9ee598480c4f04925670a3a9cf8a18d1c9b440695917ad40a5789ad2",
"chromedriver-v28.2.1-darwin-x64.zip": "85e829cf20ad123f044b9aa61705310f813cdaf578ff36e1f6d4b4c8bea561fd",
"chromedriver-v28.2.1-linux-arm64.zip": "df999ba8f47fcb8b47d6c975553d81b429a744391dc43ffadc1abf5697dbe790",
"chromedriver-v28.2.1-linux-armv7l.zip": "ad90b9e5183ada5f633671cfd71f36ed464686e45e019ed614ad332950eafd2c",
"chromedriver-v28.2.1-linux-x64.zip": "d79a283ae33271ff6c31583efb9ecdd94f79aa982b1cc6666fbe6644dec794a4",
"chromedriver-v28.2.1-mas-arm64.zip": "87997ad02bc796f2c2a987c9de2199d8f1cc5ffac9f729406755eab88c683945",
"chromedriver-v28.2.1-mas-x64.zip": "ed841996d6d9b968677b6a5dc268ca200054d91774153512dda472e805e19bad",
"chromedriver-v28.2.1-win32-arm64.zip": "f375edaa02dabbafee87fa77452ac40ac8bf5da70b147a67b57553ba50027e20",
"chromedriver-v28.2.1-win32-ia32.zip": "136b67545161e5747239dcf5ec068f10ccb05a3d7108d11eef01bbb0fc374ec2",
"chromedriver-v28.2.1-win32-x64.zip": "6dfbbecc7b4424e254b1b9a46556cd1ba6077bfe628340a6402e430978fe9642",
"electron-api.json": "5a73c1b16f605da8058198301287f11fb89b7b81a2d5957b6e92b095dcd47e08",
"electron-v28.2.1-darwin-arm64-dsym-snapshot.zip": "b9a327627dcdb0fa8aa5ba9a44a6ba6a5deaa2784c9deff71ff1807d958ece02",
"electron-v28.2.1-darwin-arm64-dsym.zip": "a518543b7fa401295c5cff3e9ea3444b307920e4c73a76900919e8d89ec2b81c",
"electron-v28.2.1-darwin-arm64-symbols.zip": "792686296b94b49879122a33e5cfc388d3b9c773c9378c874b791fe082bacebf",
"electron-v28.2.1-darwin-arm64.zip": "8193e939b8f8d942dcc0271f4bb029869aa4576b7406e4591f11a4657ae53c0e",
"electron-v28.2.1-darwin-x64-dsym-snapshot.zip": "e336d6d6f3a2b96e794e95cecc325de43f8c4b0995562112b0019e22b4f3325d",
"electron-v28.2.1-darwin-x64-dsym.zip": "3f01786b9abaf196b8006bcb21d7ab28b248bd2d1bd29b29b2bf9a1f0f7db46f",
"electron-v28.2.1-darwin-x64-symbols.zip": "7f4e35b49eef5a068261d01442229058f35bc078cc4207eaa816c105d52dc8ad",
"electron-v28.2.1-darwin-x64.zip": "07ae2241f00aafa5e204628668f581046668b22e955146dd02c0fa8698f4b2e3",
"electron-v28.2.1-linux-arm64-debug.zip": "a977d9ee044bc5667b36e50ec5e7a0188d81046e0affac3b036594f82f15c1db",
"electron-v28.2.1-linux-arm64-symbols.zip": "867420f308fb948ff6b5ec915edfc2a51acec09e39dacf92e6c4eddcdce354a3",
"electron-v28.2.1-linux-arm64.zip": "4dfc80923340078bc1128f38ed9d26dac5862dfafce08708f5367ea8e5d34913",
"electron-v28.2.1-linux-armv7l-debug.zip": "a977d9ee044bc5667b36e50ec5e7a0188d81046e0affac3b036594f82f15c1db",
"electron-v28.2.1-linux-armv7l-symbols.zip": "baaa8043bae2e7d911f5628ba3d32ec82cc3711e827fe4eba500d4ea3bb6e4fe",
"electron-v28.2.1-linux-armv7l.zip": "a3cc0d94835697eb81c71d75c9dc959d5b2f118dd02f3080bb82f49794ef4904",
"electron-v28.2.1-linux-x64-debug.zip": "49756b394b4b5d9e1b70c1108f4a90111d359a651926f18d2e2d2e62c69dbe8e",
"electron-v28.2.1-linux-x64-symbols.zip": "beb4ecd72e9b9c3d4decb9cb8be15bd4c4d49b2c43f8c9b4b286cd92736d357c",
"electron-v28.2.1-linux-x64.zip": "b1cc19c178305d80fae42d723109ddb0ec224276229515d1f6b46633197c2282",
"electron-v28.2.1-mas-arm64-dsym-snapshot.zip": "556e3370b11dd5eb47e60cb88f7ec0ecc6925d2e1920a8501dfedd74030b23da",
"electron-v28.2.1-mas-arm64-dsym.zip": "77d6cb05376b33a6faf4a39643dc3a45b5cf26720a8d906e8c4711ecb545c7b6",
"electron-v28.2.1-mas-arm64-symbols.zip": "627707bb9fbef45e09a275fb7996b33331260240df93cbc9cbade00d2255bd86",
"electron-v28.2.1-mas-arm64.zip": "e2992241d10c3b54885c04477858e73752d024697c213bd37b46fb7ebeae50a3",
"electron-v28.2.1-mas-x64-dsym-snapshot.zip": "fc632605f6803c86e6f11e6eb218af45d5574e8b70a2752e3cd1a90f21993998",
"electron-v28.2.1-mas-x64-dsym.zip": "419314ec37dec975c5b1bc526e75905408dbe81f4ed96b44f222c101aff63dd7",
"electron-v28.2.1-mas-x64-symbols.zip": "563ba8ae34c06f6512f7f1aa831b0d5451b2b29cb42e3d20cccf410f073a2dfa",
"electron-v28.2.1-mas-x64.zip": "a9ada0d5c92c4fc8f34fc7be2a323d5891c3b64be3350a787b25a85c62fa2ad8",
"electron-v28.2.1-win32-arm64-pdb.zip": "787a89d48daf68bf42c9f039e09649c96cf597fbbfd362f35240a3c7ec18f6b3",
"electron-v28.2.1-win32-arm64-symbols.zip": "28a36331a3402a3667a639a77495efc658de134b2c48d5c7994886a577e4c348",
"electron-v28.2.1-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
"electron-v28.2.1-win32-arm64.zip": "cb9d475726d21fef8fd6718939410414f6d1e9405ed30b311ce3c0eb53a0ed90",
"electron-v28.2.1-win32-ia32-pdb.zip": "cec0f268b07300f4d31d7be57812ec4aeaa981d95048ed7101615b3988a88cc1",
"electron-v28.2.1-win32-ia32-symbols.zip": "87dabf15e606d0cd09716a7e78ee1a7305b3b21060c2c0f82c4f5c1641e151a0",
"electron-v28.2.1-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
"electron-v28.2.1-win32-ia32.zip": "7b536925984b9b89809434983f7ae52609c357ccc8e1bc56436f188d91ee194f",
"electron-v28.2.1-win32-x64-pdb.zip": "54a6735c96fa82fc5bd5a309a1bad7f1df21a96d069d847f0dcf397e083e0c2e",
"electron-v28.2.1-win32-x64-symbols.zip": "67fdbae56d1f7594e4906efa15b42c3b2b40b9972b237645b119bea246962d99",
"electron-v28.2.1-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
"electron-v28.2.1-win32-x64.zip": "215b176da1efe2fc891b3ae7afba84c70087270db9c6b2c5e73c7579dc6c0f4d",
"electron.d.ts": "62aa7f7354974e26bbb89bfe55f1dc4e3055a032f01310d8a0f1cdcc18c8f96d",
"ffmpeg-v28.2.1-darwin-arm64.zip": "f89054f21b00b950f79c29f404268d41d543f4ea94b2e34fa66a2ee4abea061c",
"ffmpeg-v28.2.1-darwin-x64.zip": "1614fb4fdc394bd3e590c052b1960db3f087cd36ea581702b9126e14f31e3da2",
"ffmpeg-v28.2.1-linux-arm64.zip": "8e108e533811febcc51f377ac8604d506663453e41c02dc818517e1ea9a4e8d5",
"ffmpeg-v28.2.1-linux-armv7l.zip": "51ecd03435f56a2ced31b1c9dbf281955ba82a814ca0214a4292bdc711e5a45c",
"ffmpeg-v28.2.1-linux-x64.zip": "acc9dc3765f68b7563045e2d0df11bbef6b41be0a1c34bbf9fa778f36eefb42f",
"ffmpeg-v28.2.1-mas-arm64.zip": "7fcb07df242840c6c0e60975b11d4ea0a19a3104c9153d046f90dc08796f70a3",
"ffmpeg-v28.2.1-mas-x64.zip": "31555fc7c7533753286180302097af0bbed0ce0c1a8cc280d632d3c69c0e00c7",
"ffmpeg-v28.2.1-win32-arm64.zip": "f464a057c829b1195f298fa15e082d6e587977ee906bb8f8910174063e7d4f66",
"ffmpeg-v28.2.1-win32-ia32.zip": "6bbdccf1f65f1b6dca5fef0463263a05f536de2d6a00295e697aa1e5559906bb",
"ffmpeg-v28.2.1-win32-x64.zip": "94563d99f720dd6582e9c792fe7e76daa701f514de8bc9d127c54462b6004264",
"hunspell_dictionaries.zip": "1fcdf3d2713026837f447e4a4a2eb5714ace1113531d8f4d6805ccec41846802",
"libcxx-objects-v28.2.1-linux-arm64.zip": "5d0086f84a48ef4a1949ffd6d5255ea4928c6ea31fe7546b11eb8203d21c0cdf",
"libcxx-objects-v28.2.1-linux-armv7l.zip": "34622fa9bc3bf95484a046d536c7132567f5ed21f59f425872f7cffb19e05379",
"libcxx-objects-v28.2.1-linux-x64.zip": "019d685083ac1cd865df98ab98b396ef4fdf50460d3030ad85a4a82067bbd276",
"libcxx_headers.zip": "707e86b14aac2e455afe9d9428f3c57d62d5419dbabf75cab83861c2efee999b",
"libcxxabi_headers.zip": "24dee854743fe9c4ec95c841dce041789fcbfbe8ceb08ad98077b82e6c7c6b00",
"mksnapshot-v28.2.1-darwin-arm64.zip": "f8d888947832707c6d93a52152d1f4648259645cf43a2c66a3cf8c131d93bdef",
"mksnapshot-v28.2.1-darwin-x64.zip": "447f7639b6ba640ee51384fda8284fd8fd815e74d16032ef49ab2f4bfd940a62",
"mksnapshot-v28.2.1-linux-arm64-x64.zip": "2813c41a7c810d83f6bb2a4be2886af6ac88d8ff601870bac0fb57b5eec729d2",
"mksnapshot-v28.2.1-linux-armv7l-x64.zip": "626cf2d6e947113a54ece8285131c73b96209137343e59f335cc0970cc84332d",
"mksnapshot-v28.2.1-linux-x64.zip": "2ae967f405db18354699230770d2365aa24718273e23e8bff548061b3a8ab5e8",
"mksnapshot-v28.2.1-mas-arm64.zip": "1da7f8ec9e19262ac5e66883328f9310c864f62fd4c247df3f15a3a71f77696d",
"mksnapshot-v28.2.1-mas-x64.zip": "eac2e808ec9e79bf38624d2d39ea6625345042fbeb0fa8579e7de8673e0239ab",
"mksnapshot-v28.2.1-win32-arm64-x64.zip": "9ed8a4610ac357d067319d471e5c6ea35d6846422707dfa1590029f3643ac028",
"mksnapshot-v28.2.1-win32-ia32.zip": "46cee122c236230379be1be457b137d66aa2ee1718665b1d1867cbabbf8ad2ec",
"mksnapshot-v28.2.1-win32-x64.zip": "c71ae07da4db344d9b7af3832cf27c9947fad909f55d96fa0bec19d18e41af6e"
}
25 changes: 25 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env node

const electron = require('./');

const proc = require('child_process');

const child = proc.spawn(electron, process.argv.slice(2), { stdio: 'inherit', windowsHide: false });
child.on('close', function (code, signal) {
if (code === null) {
console.error(electron, 'exited with signal', signal);
process.exit(1);
}
process.exit(code);
});

const handleTerminationSignal = function (signal) {
process.on(signal, function signalHandler () {
if (!child.killed) {
child.kill(signal);
}
});
};

handleTerminationSignal('SIGINT');
handleTerminationSignal('SIGTERM');
Loading

0 comments on commit 6db0390

Please sign in to comment.