Skip to content

Commit

Permalink
27.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 16, 2023
1 parent 72f7956 commit 8e469dd
Show file tree
Hide file tree
Showing 8 changed files with 19,795 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-v27.1.0-darwin-arm64.zip": "4a26ead9ccf2782ecf828071bfa5c3ea373556f9954a3ecd8d984ed13e0495dc",
"chromedriver-v27.1.0-darwin-x64.zip": "f967b086b91d35057c99451c6dc4f4e5fdc4ffdef56d7b4b1509272c61c5910b",
"chromedriver-v27.1.0-linux-arm64.zip": "ac4706d72f7900849bad54a3d9d554959cb4646882291210acf5f02535ee32f7",
"chromedriver-v27.1.0-linux-armv7l.zip": "748341068db02ad1920b2ff21b4b77454a4ad789c56f3270751e3b6b89c6cbce",
"chromedriver-v27.1.0-linux-x64.zip": "84b42e229ec374ec0b980854ab8d27ee184a0d24959b3e6399f1633f11bac08f",
"chromedriver-v27.1.0-mas-arm64.zip": "83d33358b386de52b172d856655c2af92fc6cd18ff5268ca67c9b34ebae04c0a",
"chromedriver-v27.1.0-mas-x64.zip": "d28aa0c603b309690f3d9b9e63c50a20a434d9ae85f0781b7756750af3cface0",
"chromedriver-v27.1.0-win32-arm64.zip": "7959fcb139836dda2eff1cb547869b2ca706f7c332f674f4fa86ec9210c4e65d",
"chromedriver-v27.1.0-win32-ia32.zip": "f32a6ff01fc8a22f6cffbf1b0c75bc779eb23ad1cf7bb35b31a89a9d562ad607",
"chromedriver-v27.1.0-win32-x64.zip": "70fca8f55bf0956f5803a3c323a8700685306164447d13e05402ba4382434f3a",
"electron-api.json": "3f93d05d3979debe77d441ad95251d565449b764625e4328c936818d3fef2375",
"electron-v27.1.0-darwin-arm64-dsym-snapshot.zip": "a235e167e6af2d90e547259c8c969930de9a86a8db70a0171fb7aa063fbdd134",
"electron-v27.1.0-darwin-arm64-dsym.zip": "3398fbe8900e423f62d4d6fff849ddc846a80b407347ead89088b2409612e676",
"electron-v27.1.0-darwin-arm64-symbols.zip": "bbd77d70ce56fbec63be79843ad16e788dff01cbc9dcf6c7f48b17f359d5a5f0",
"electron-v27.1.0-darwin-arm64.zip": "e2b581b75e10b61267d73d96b15ee6358fa42fc925e214b3473a68e4cfd5dff3",
"electron-v27.1.0-darwin-x64-dsym-snapshot.zip": "8acc99d4895d19b237a41542dfb2b1c25eb4072329ddf96c9f32014132b524e6",
"electron-v27.1.0-darwin-x64-dsym.zip": "87e686ba581e3768653218aa2ff7d4bc40bc3cb722ecc3387a064d99db770d9b",
"electron-v27.1.0-darwin-x64-symbols.zip": "0ab576a91ae385ce5b34184f3a9262980d705e3531713112b71691b11c2d8c2a",
"electron-v27.1.0-darwin-x64.zip": "bd11cb617a9fb2926dc07aa277987f1db36c19fdabd566e6dc959e2504e0689a",
"electron-v27.1.0-linux-arm64-debug.zip": "be07d8f593bde2e2b9b6127557ac8b50924a8af618833dd709d1cbec1cce3fe2",
"electron-v27.1.0-linux-arm64-symbols.zip": "60121253d4929209afb1273cda204bfd04d2ff37781a16322411313cfa6c9193",
"electron-v27.1.0-linux-arm64.zip": "3f9dc749982059f12a65b9f7fd634c0e35603e2ef146321b75ec7fb774e0b867",
"electron-v27.1.0-linux-armv7l-debug.zip": "be07d8f593bde2e2b9b6127557ac8b50924a8af618833dd709d1cbec1cce3fe2",
"electron-v27.1.0-linux-armv7l-symbols.zip": "1e786ed66ac918615ba5b7b03bac9c992f82572e6cb3013c6ee7f0b87065a5d5",
"electron-v27.1.0-linux-armv7l.zip": "e5eeae7e3438e7ae0af1ac5762c66332ae65c84200aacb1b9b0789e0e21d3fd0",
"electron-v27.1.0-linux-x64-debug.zip": "8189b9bbba8d81d87c655cef6dc790931827b7d98275b284287fab9c0c0b3c8d",
"electron-v27.1.0-linux-x64-symbols.zip": "f9ff20febe243dae5062cc1c93fbd5ac9728a98eb58954ded4e44edda4a708c0",
"electron-v27.1.0-linux-x64.zip": "6621f26ec284b82228b51ea6ce0a931288f5bab8e19f6896fe7f46f6eda43422",
"electron-v27.1.0-mas-arm64-dsym-snapshot.zip": "27d027ad7aa14c7df9f05498b33e08f5e6470156f67c3756c23aa44277ee69dd",
"electron-v27.1.0-mas-arm64-dsym.zip": "85e57b7af67fdd43e97ff2b35d6ed4749b9564e895a41320446249162f52c28f",
"electron-v27.1.0-mas-arm64-symbols.zip": "c09bd790f4be62042d2748c6dcb4d68db493d3187bb3d44cdfa5e2bbccee8eb9",
"electron-v27.1.0-mas-arm64.zip": "947bf2b0fe10ea15d41413b9e770ddc75cd469d40e80ad61d845f4ca14898c13",
"electron-v27.1.0-mas-x64-dsym-snapshot.zip": "b202049d307395ec16aee4f99ce61a5a6647b4308fbc7f86500898dfbd731898",
"electron-v27.1.0-mas-x64-dsym.zip": "4ecca33d121bef68a373ecfbe34884039a3eaaa0296256f8270fcd3f3e74b075",
"electron-v27.1.0-mas-x64-symbols.zip": "7ed8e338492647d36116ad76fd03b553f2ef06f2c78b60066a68819a3869ab71",
"electron-v27.1.0-mas-x64.zip": "fc0f12b3d68e9faeb603dec078487f27ab8f2fba481590fe89f86d3ae4c75db0",
"electron-v27.1.0-win32-arm64-pdb.zip": "9aacdff4e520cfa4ca7abfea143b97e3f2213c57b01b262a00f0e5e9812dffdf",
"electron-v27.1.0-win32-arm64-symbols.zip": "e2b3efb4cbf56035e70b5dc136b2c9107e8d405c627e11e29d7d17b21ccd23b1",
"electron-v27.1.0-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
"electron-v27.1.0-win32-arm64.zip": "1a3926ae01e66db6a5731bb3d426db27e3f0a440f08d181a56784778f15e25bf",
"electron-v27.1.0-win32-ia32-pdb.zip": "7b6787929128a6f4ce6db93bea3a5cd0ba037bbb40a6ba2443b6682deef2299e",
"electron-v27.1.0-win32-ia32-symbols.zip": "c69178027f2c5b34d0cfcb4b6c2d3813e8601760d21576b90fc21f14138a098c",
"electron-v27.1.0-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
"electron-v27.1.0-win32-ia32.zip": "0e37ed303733cf433530afe767fafecfe04beb9599d1ae71a2ac4afa5692f936",
"electron-v27.1.0-win32-x64-pdb.zip": "ebe544396ede159006c4e600498605072e3bfaba6a9b2ccd80c9494fa9056c12",
"electron-v27.1.0-win32-x64-symbols.zip": "01fa5a7c6b88c7f6013a7407b222859954df7f24b35b2366facf97221dd6b2a9",
"electron-v27.1.0-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
"electron-v27.1.0-win32-x64.zip": "badd91e153fbf1491104551c8645db209f5870cc5e99ec141e3de47c26d244b6",
"electron.d.ts": "2765d1d49f5f629dc4cd2cec89d32e39167d2ff0d1de8de1b7a7f50d8cd63b3a",
"ffmpeg-v27.1.0-darwin-arm64.zip": "cbbaf76dccc32ad6db5c4e6391a531efbfc43a14453f05e663346bc18f920037",
"ffmpeg-v27.1.0-darwin-x64.zip": "8cfabdb555d6c056aafb3586f874e6c3493ddf981ceac8354f58d587740f1ae4",
"ffmpeg-v27.1.0-linux-arm64.zip": "be517ba93c5b5f36d2e55af148213f4c2fc43177563825601bee6f88dd4f7b05",
"ffmpeg-v27.1.0-linux-armv7l.zip": "926d0da25ffcea3d05a6cbcae15e5d7729d93bc43394ae4439747669d2210e1d",
"ffmpeg-v27.1.0-linux-x64.zip": "6f9c0ef52af14828ad547a80b17f8c63cac51a18b8d5769a2f33e4fa6cccfc7e",
"ffmpeg-v27.1.0-mas-arm64.zip": "a2666b4dcf3cc7f37f82008029745b1a4639a8bf3a76a29b356fd367352e2220",
"ffmpeg-v27.1.0-mas-x64.zip": "92a33e330f11f813c9e4492646cd7474b9c10adecacaa1b9529bc9d6b740b02b",
"ffmpeg-v27.1.0-win32-arm64.zip": "86a468c7f4d4d812e2109ab1917bb57cd560e0f659f45482222f7d6ccfb5858a",
"ffmpeg-v27.1.0-win32-ia32.zip": "f0c2449c281eebeaff4d1130ad693564a18c275ce73672bc89a483feb2de2036",
"ffmpeg-v27.1.0-win32-x64.zip": "7b777c2f24eef7d87c09d2e93db09fe01868592c469ee894f96c05bcc1e10ac6",
"hunspell_dictionaries.zip": "0a610ea0749de71569b2f5d16400b53acbcf9affc9ec9ff59fc66786b50ebc3c",
"libcxx-objects-v27.1.0-linux-arm64.zip": "283f07eb6c314fc103dd8ec27ed985292631cd9e53f2c20023a80dd1714b7cf4",
"libcxx-objects-v27.1.0-linux-armv7l.zip": "1d4d36089b5bfcb0f61b452a5543801099f3916bcbcf80251d87e06833158fba",
"libcxx-objects-v27.1.0-linux-x64.zip": "7c8c8f9d2996c484b35391fc8078156ed84e8d85eae5d7e8831c34475e6dfcc3",
"libcxx_headers.zip": "50092a94c6414c0ecb208fcb5099c0262b874864b7624a8cdaf5164f5b7de358",
"libcxxabi_headers.zip": "4f9e28ee0310632610eaf2cfed3df7426c410226afa3306cc6a65dc1289b597a",
"mksnapshot-v27.1.0-darwin-arm64.zip": "5f247a2d4d5c106ed40e5101f6c659cef2d8ecd923369a004052316ccd7a6fb8",
"mksnapshot-v27.1.0-darwin-x64.zip": "37304cec747f251be36d405ae6ea695589b605e7af445181bbc2210e4e4c4f5a",
"mksnapshot-v27.1.0-linux-arm64-x64.zip": "368689eb05bae2dcd79889c294a7dc90b47ac485546b707b74d52d035e5b07ef",
"mksnapshot-v27.1.0-linux-armv7l-x64.zip": "7d3af858498217b9fc27aff4b325259b3e3c04eade3a7a33b13878c7fd579087",
"mksnapshot-v27.1.0-linux-x64.zip": "9186e310edcdf76ca3ac448fb7b43b8e5451ef8ce4202122a1eb5f47e79e75f0",
"mksnapshot-v27.1.0-mas-arm64.zip": "1fd45962a3aa6f55af4653c22287ba7baa9e19c1938f9a5277c6c8a06cfbcd15",
"mksnapshot-v27.1.0-mas-x64.zip": "2b0cf4a8edb1bdee04e0bfa36cc58255c1d702bf938cec6c852c4a5b998dba1b",
"mksnapshot-v27.1.0-win32-arm64-x64.zip": "475e54f2ea2c28320732b221b845e4422219e9dd638e326fd553e947096b7db1",
"mksnapshot-v27.1.0-win32-ia32.zip": "e0e9e36762c0fd65b73a71848d94126ff77693952c4018871120529a0246d3d9",
"mksnapshot-v27.1.0-win32-x64.zip": "78f0f97bf81fd568f4b2f4d1ff3120c8a3301123fe911e506625c04d4b7c265e"
}
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 8e469dd

Please sign in to comment.