Skip to content

Commit

Permalink
26.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 24, 2023
1 parent 72f7956 commit 166fe87
Show file tree
Hide file tree
Showing 8 changed files with 19,819 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 (High Sierra 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('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-v26.1.0-darwin-arm64.zip": "760a749a0a49a544633a7a56725eb4db75a6979a09f4df6833ed0e3c468ee2ab",
"chromedriver-v26.1.0-darwin-x64.zip": "bed3aa5fcf2737281eefc45f6246bea75ad3869307e76338ec1a7dbf677ba812",
"chromedriver-v26.1.0-linux-arm64.zip": "e22deb30b940d758ddaf2c81f92c48861ec257748de8cc7a0e3289016e53dcc4",
"chromedriver-v26.1.0-linux-armv7l.zip": "72b1330de69b6eb3b8e2ccf39ab787a2793e23df99aa467fd8a75aacc329b4d0",
"chromedriver-v26.1.0-linux-x64.zip": "58fc3182046949e8a1e8db735d7467c41bc5b0e9071bb3ad32efec84000a582f",
"chromedriver-v26.1.0-mas-arm64.zip": "4885d5f3416c4f926ed5eb4f393f5a2321d35032542499817c794a1e8835c707",
"chromedriver-v26.1.0-mas-x64.zip": "c3e4aaaaeae69c0d7f52f0f550bbb2edafa64521ff9a62a047be8a41bdabf811",
"chromedriver-v26.1.0-win32-arm64.zip": "099960b516dd851574bc9cc34fb2f36830dc78fa7131f7d1030791ff5444d80d",
"chromedriver-v26.1.0-win32-ia32.zip": "b9526c31e60380c72735ca473cfba94a3f5641cd3bc208689d7434c9064c3f99",
"chromedriver-v26.1.0-win32-x64.zip": "1e155eafc8d9f6aba318d107942d7201019dbc5df85f63b3157fa61154d4cf5e",
"electron-api.json": "0b1e1b6aefe96a69502fac2ec5754272fc98bfb4733c87d7bfa6f0ba270a8be3",
"electron-v26.1.0-darwin-arm64-dsym-snapshot.zip": "528491a506ec64b70f4ffe8688a144617e0112f8a1bcdc4fbab3b2476c2314d3",
"electron-v26.1.0-darwin-arm64-dsym.zip": "7b67a45fea5ef4e6233451347585595e52b2e0243bcc63dbe82f27eab3acbc06",
"electron-v26.1.0-darwin-arm64-symbols.zip": "f54b7f55c686a3dbe6c23f054ad647281a20329789a08915c6a5f85e718b58b4",
"electron-v26.1.0-darwin-arm64.zip": "f39aafcf480ef581161d3dc0b89a91c556dcaed45927ee0b612368016afe7b89",
"electron-v26.1.0-darwin-x64-dsym-snapshot.zip": "0488e1a6d6230d5be6b79e98fed4643bf778ddf0d2159384fafdcdb299a3423a",
"electron-v26.1.0-darwin-x64-dsym.zip": "866638ecd1fe15eb43cf2e0a9303cc94152b39a506f5b850a3067779a1451a47",
"electron-v26.1.0-darwin-x64-symbols.zip": "ea8796fafad1b621d54a19752978fd95befa2e61a8a576f127ec2b668a23fefe",
"electron-v26.1.0-darwin-x64.zip": "39a336baca218058011f39c4fa9a4275348ec7f411789262799d23c9669060d9",
"electron-v26.1.0-linux-arm64-debug.zip": "a5a59baf1d3a8a60edc5552700fe13a749d022f27062abba28e7c4222b8341e6",
"electron-v26.1.0-linux-arm64-symbols.zip": "d1c73eec720a52e85b81b95edd6fa417ef2d592e539d7d3914d89e86c8de4680",
"electron-v26.1.0-linux-arm64.zip": "1ed0996a06e97f5c23ceb8ae767873915c432c0aca5ffd4b37ab5fb1002d9d65",
"electron-v26.1.0-linux-armv7l-debug.zip": "a5a59baf1d3a8a60edc5552700fe13a749d022f27062abba28e7c4222b8341e6",
"electron-v26.1.0-linux-armv7l-symbols.zip": "630da1024c662f523efbfbc4c37ecd184f886912083fa5950489018c723821cc",
"electron-v26.1.0-linux-armv7l.zip": "4a4a6587bddce4554657f40fd9d39645ede03a375a1c42455c9b8d556698e5f5",
"electron-v26.1.0-linux-x64-debug.zip": "09c81d38057cf8a0adfaeba5bad70428aa233ed451d97b1291b5b07a3a8b59bb",
"electron-v26.1.0-linux-x64-symbols.zip": "a425b742e559ab6d35feaf5ee12b6590197478f1da05f9fbd036487591fbc632",
"electron-v26.1.0-linux-x64.zip": "de78aed71ce17395675a29dcd20c1370473713eb234143dd0fa3e4c5a39504eb",
"electron-v26.1.0-mas-arm64-dsym-snapshot.zip": "528491a506ec64b70f4ffe8688a144617e0112f8a1bcdc4fbab3b2476c2314d3",
"electron-v26.1.0-mas-arm64-dsym.zip": "69863dc20a505733e10a2ec60fa6c37da4bbd1a20ff151f15abe9bbae0a39499",
"electron-v26.1.0-mas-arm64-symbols.zip": "c2c1cc77ca38eb4cc82d65efbdd73b1dd39ccf597e48b769166794589fbe6a43",
"electron-v26.1.0-mas-arm64.zip": "649dc9b9f3e49b94e65a92f83295674021abf32836b10cb6e9c07f001ae6811f",
"electron-v26.1.0-mas-x64-dsym-snapshot.zip": "0df49e7d6893898d1170482d103932ab1c1905f828bbc48cd26510baf49eb7f1",
"electron-v26.1.0-mas-x64-dsym.zip": "70507fd1b1c21b9344a1a53b0f0a0692f2265475d7a4eb08d1e6a6f0d00e181e",
"electron-v26.1.0-mas-x64-symbols.zip": "813927b6446d4572a6324c23f1ac52bcdc5f1eff9b931989068e974f0f904575",
"electron-v26.1.0-mas-x64.zip": "07dd2f2c4fa7bef42d67c05f29dc0390b9b4b507050aa559d142bb661b0d0143",
"electron-v26.1.0-win32-arm64-pdb.zip": "d9ecdd760f19aac621ec691d8dac4c07514867e46b968097a93a51cb740380f5",
"electron-v26.1.0-win32-arm64-symbols.zip": "d71c9863df0e9e6059e090aaa8be060b80320cd3f166008eac2127268b358782",
"electron-v26.1.0-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
"electron-v26.1.0-win32-arm64.zip": "c265cb07f5e12b10bb193e8eb45f051ef0dec46474d3b58d5dd7d5a24d49cd18",
"electron-v26.1.0-win32-ia32-pdb.zip": "86fb1c42c665ee8ba791d28fbf5cc2fb23f7495b2594f486ae04a2d8e628ba7d",
"electron-v26.1.0-win32-ia32-symbols.zip": "9242a2dd908c78b126b5356ed8eb059b97a3284fe6151a718a9146446f439312",
"electron-v26.1.0-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
"electron-v26.1.0-win32-ia32.zip": "00ab472aa95fc40a80f5bdea4006363c2996e2cc537f66dcffec1667b93529db",
"electron-v26.1.0-win32-x64-pdb.zip": "d98d2d415b25cefc8690b9fc035da99e34f9a2dde51e92023c78dbe0ff6aa83c",
"electron-v26.1.0-win32-x64-symbols.zip": "ad2f889fc84baad22a6d8a02e5620bb8516684b310322d3954c3ededafee1034",
"electron-v26.1.0-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
"electron-v26.1.0-win32-x64.zip": "7cbbe8673f184bf3c718194c83189b23d50d268abe9b7a96af4093fb2856252b",
"electron.d.ts": "7ddc4b7052c23d5bba97218f4cbcf36a6c877b6d2ac896a8ba3fe7de3680f28f",
"ffmpeg-v26.1.0-darwin-arm64.zip": "a349e130a29494da6c3f7386998a19669f11d2caee921e6bec612072750f7a45",
"ffmpeg-v26.1.0-darwin-x64.zip": "5dc27373f92c70538a63741afc7ae65822ac75f37a3bbb19754e104e5c5d9a6e",
"ffmpeg-v26.1.0-linux-arm64.zip": "827e2337221ebdca2d3d2b0e93aac44101ffa1281aa9d329d45891e3e5acb25d",
"ffmpeg-v26.1.0-linux-armv7l.zip": "4c81a689066d75c79a484f5ccca239ff2bb0dbb38492262b461b9d83cc4ad27a",
"ffmpeg-v26.1.0-linux-x64.zip": "a26b7494711355fada7b34dfc4115cda156b13cf8d3d73f08a62740e39934e74",
"ffmpeg-v26.1.0-mas-arm64.zip": "49cb7ee5db3ea837685e3a3531059896bece45ac643d44b79169980c21d151ee",
"ffmpeg-v26.1.0-mas-x64.zip": "bc31dc82e66cc7806abe4b1f22a14aaf2349aef3794eb205b57706e42ae54d62",
"ffmpeg-v26.1.0-win32-arm64.zip": "a7d829c430aa5be817db8b933d6c982f77306789a010307229b36ad2961da6f7",
"ffmpeg-v26.1.0-win32-ia32.zip": "a3d63a67864ea42537f36c1f6d34573bd41b8a3f9ace975f9819f537550f8887",
"ffmpeg-v26.1.0-win32-x64.zip": "f2f96d13e4254475103d05b5849b26202fd7602b0d26068f0ce3e2663a05f2f9",
"hunspell_dictionaries.zip": "7a46e0cb8456bde51885785439d96d3ff2a436d2ea708127d7d15b39de23c35c",
"libcxx-objects-v26.1.0-linux-arm64.zip": "0fcd13c34547ad0e534eb158c4d5ad60bd2a5874de4b19a99f087406da2fb9b8",
"libcxx-objects-v26.1.0-linux-armv7l.zip": "ecced80a59255800fc9490fb590610a3db442680c954ec4bfc662c89b84c881c",
"libcxx-objects-v26.1.0-linux-x64.zip": "92f29a2af2a96813edf955e6195fb8860f78c1db007d81bf61e84c388ec96581",
"libcxx_headers.zip": "05db904439f8ce923cd545c81a66b16c391bcfe637b79c3bbe276372aa35ffcd",
"libcxxabi_headers.zip": "61cf370ce756b69eecd9aa3dc2b484634c35733c3e7417fd7da1a90c3cd1be54",
"mksnapshot-v26.1.0-darwin-arm64.zip": "f6bfbcbc9378aac1c44113360d72cc408de523aada3f48468d2df1625aeff0f0",
"mksnapshot-v26.1.0-darwin-x64.zip": "d0a0f6b5526eb49691875f71ba6e5771db2608b635e905fcdf27c23109d45783",
"mksnapshot-v26.1.0-linux-arm64-x64.zip": "7e3c7b87cdbdd98dedcedaee7633654b8002baf3f341ac3d5c2412d7bb058ed2",
"mksnapshot-v26.1.0-linux-armv7l-x64.zip": "7992effa075648f9207695ca860c0899d7513a8c13f86a654aae40ec641b4cbb",
"mksnapshot-v26.1.0-linux-x64.zip": "7138fdcf3e776ae329bebcfe58b818ef674f815a7b3bd96c9be548e404128f91",
"mksnapshot-v26.1.0-mas-arm64.zip": "8a79216a8d6f79afdb627138aa81c71220aa75d43ab9fe188bb383ec79735ebc",
"mksnapshot-v26.1.0-mas-x64.zip": "532c9e50f49c7cb63b97334de271e771a97dfb7ba4b72704ad3a5851c12a2428",
"mksnapshot-v26.1.0-win32-arm64-x64.zip": "25839476e63d6b86527541106e308e9bf11ab642cdcbbc0756162d83e10870fd",
"mksnapshot-v26.1.0-win32-ia32.zip": "0e3992dcfae1b393eb7aac9cb1acbbc4df7f3a8b184be7ea1432c6a3e15b5662",
"mksnapshot-v26.1.0-win32-x64.zip": "deffbd3a4972f7df0e5352536e91b2709a14c11546449b8b3ecfa9b2d3539109"
}
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 166fe87

Please sign in to comment.