First Push

This commit is contained in:
2022-11-02 22:16:03 -04:00
commit 8a635f669d
2054 changed files with 307783 additions and 0 deletions

21
node_modules/electron/LICENSE generated vendored Normal file
View File

@@ -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
node_modules/electron/README.md generated vendored Normal file
View File

@@ -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.com/invite/APGC3k5yaH)
:memo: Available Translations: 🇨🇳 🇧🇷 🇪🇸 🇯🇵 🇷🇺 🇫🇷 🇺🇸 🇩🇪.
View these docs in other languages at [electron/i18n](https://github.com/electron/i18n/tree/master/content/).
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 [coc@electronjs.org](mailto:coc@electronjs.org).
## 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 (El Capitan and up): Electron provides 64-bit Intel and ARM binaries for macOS. Apple Silicon support was added in Electron 11.
* Windows (Windows 7 and up): Electron provides `ia32` (`x86`), `x64` (`amd64`), and `arm64` binaries for Windows. Windows on ARM support was added in Electron 5.0.8.
* 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
node_modules/electron/checksums.json generated vendored Normal file
View File

@@ -0,0 +1,77 @@
{
"chromedriver-v20.1.0-darwin-arm64.zip": "d9797adc72eaf8d6d02215a771b7bf6ea4d7d1a94c00c754903001bb3a57b7fe",
"chromedriver-v20.1.0-darwin-x64.zip": "3ab87c73b415888b8e4bdda5290d3536f6947ed70006fecb858b534523db4b84",
"chromedriver-v20.1.0-linux-arm64.zip": "4e475ac35a43e3448aeabc3841fa43ca13a3ae2c531b984c67effb3217c8b604",
"chromedriver-v20.1.0-linux-armv7l.zip": "203114d548676f45b9c6901b61de218a57529fb76d1a5282ceda4b881ba86a8b",
"chromedriver-v20.1.0-linux-x64.zip": "2c2bf06edfbe09c7583dc04293e40a69825830ecdbe9b48975e4f2650d947ddf",
"chromedriver-v20.1.0-mas-arm64.zip": "802ab228e321c571b32e9875b5f7f48ae586866b79cf7c128d6ba39fbb67693e",
"chromedriver-v20.1.0-mas-x64.zip": "2aa8c8c85d7d6fb06f93fd2e0ea283f45922ea6fee5902587dab281ea00a5615",
"chromedriver-v20.1.0-win32-arm64.zip": "78fd66a645d41a1f9d2a7af9a712c9880de11a77562759e106e3cc929ba05404",
"chromedriver-v20.1.0-win32-ia32.zip": "93cbaac036a26d742fded76aeb5cfd9ba292b666a109d9af29ddfa9b381edd0a",
"chromedriver-v20.1.0-win32-x64.zip": "53481eafb52db3cc834181e808d909c6120e07761f101d1802cfe33e4a0fb6f9",
"electron-api.json": "2e0bde3e2e7624b63a5e4465c5a21fff01acf972df2a8f969c947ffd7cbfeda6",
"electron-v20.1.0-darwin-arm64-dsym-snapshot.zip": "685594aeaada0d4ca6aba3dd0177f70a67bb3f56b1133d9790747773539ae73e",
"electron-v20.1.0-darwin-arm64-dsym.zip": "c4758bf6540c11ac9a54ec0939237796c7b1bd7c756fec2cfad2118de90d07d9",
"electron-v20.1.0-darwin-arm64-symbols.zip": "d0408728418727271a2498d64ae0f9fc1af016543fb85c2a15f5d1b3a2f3d9d1",
"electron-v20.1.0-darwin-arm64.zip": "551c7f9ecf3f9d40572b3971b02c30e492134ff9400d97d3055fa7d089eff3eb",
"electron-v20.1.0-darwin-x64-dsym-snapshot.zip": "a75afb5718d2bc035b5365d33d37a5262a872bc6d5914a53b358fabbb6d3e6c9",
"electron-v20.1.0-darwin-x64-dsym.zip": "b0e1fb4aa514e6f762ba505eb3061d92e4b73c211d31677697dc639657555d1f",
"electron-v20.1.0-darwin-x64-symbols.zip": "e2bb5e63421b8dff1d36fbd04ebea87faced501d63b5990dc50cedbbbe60661f",
"electron-v20.1.0-darwin-x64.zip": "5d790a90a6a156d846157e4ae210fd4c1013356a2849681b762e7dd8828bfedf",
"electron-v20.1.0-linux-arm64-debug.zip": "137f3e90410a407b542ff08d8ab4f855da6b55173d48f610d830abbe05c60eb9",
"electron-v20.1.0-linux-arm64-symbols.zip": "934e7a79d48e818395e35d9eb4b4ebd27838e5aa2205ac01d8c13e69d0418aba",
"electron-v20.1.0-linux-arm64.zip": "b5ae63ee40b486058e234392e8ed959ca0b51de570cb6454cd787a41258385a9",
"electron-v20.1.0-linux-armv7l-debug.zip": "137f3e90410a407b542ff08d8ab4f855da6b55173d48f610d830abbe05c60eb9",
"electron-v20.1.0-linux-armv7l-symbols.zip": "54d59fc49d221eca597614239ddb6ba5788c767fb0c8b2f0138698c3629775b0",
"electron-v20.1.0-linux-armv7l.zip": "3efbf6ca2e54f8292a521f368b710ae043a91ef1943a93b26a27860a494fbd49",
"electron-v20.1.0-linux-x64-debug.zip": "96e7aa33dcc1be5797dd85f0f49b84e6ebb879c1c8adc0fb72126aaf569a6f70",
"electron-v20.1.0-linux-x64-symbols.zip": "07e6647f1a6bbf3151365f8e88a2534564f8c813767104c0228ed57dc5707f8e",
"electron-v20.1.0-linux-x64.zip": "46e334eeb03ad12b987b4d6d1ba176d4389fe54f6435e7dd3d7ebc840259847e",
"electron-v20.1.0-mas-arm64-dsym-snapshot.zip": "685594aeaada0d4ca6aba3dd0177f70a67bb3f56b1133d9790747773539ae73e",
"electron-v20.1.0-mas-arm64-dsym.zip": "f2c5c76a9f579829d4fc6401a9f018c0288519f08f06b09b5e406e30015afbf0",
"electron-v20.1.0-mas-arm64-symbols.zip": "e33dcdfce72593bc3c8eac53c9e4467a7ee7171dddf808a0b814c80d588c62f6",
"electron-v20.1.0-mas-arm64.zip": "62e92d22b7019bb955c8f2f01d40f57ddbc9d114156ec980bc730cfc1abaaf54",
"electron-v20.1.0-mas-x64-dsym-snapshot.zip": "04da33dfa58213faeec32e2a12eaa7d5d10b48fd0051d81321b190d1339c2cdd",
"electron-v20.1.0-mas-x64-dsym.zip": "89d8639f756a72f1fd25343691d182433d970bbb1a305fd1105848ffce43675f",
"electron-v20.1.0-mas-x64-symbols.zip": "3ceddd84599ef47db803f4ba6633bf6f1c71333ef70daced85874dd7849aecd9",
"electron-v20.1.0-mas-x64.zip": "db5834d6e6d3b46c34d1c4b5a2253be66011371e8f8e63ad96e3ecda37a33ac0",
"electron-v20.1.0-win32-arm64-pdb.zip": "32ea312c90566c7c3fecf7283b86b188d93f589e9edfab344188f2956061b178",
"electron-v20.1.0-win32-arm64-symbols.zip": "a67c0e85e3b066dc28886332d48b64a6a032d36b8a7591c542f088c3cbff3909",
"electron-v20.1.0-win32-arm64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
"electron-v20.1.0-win32-arm64.zip": "7fa152ccc5567cf0f66699bc7a22c256553bdd559d9d59b1308ebdb64fefa79b",
"electron-v20.1.0-win32-ia32-pdb.zip": "904f6fcc436000422a12c6159622110a2515ddefaf85f9289686a23f1f6e3c63",
"electron-v20.1.0-win32-ia32-symbols.zip": "5935f209bac363e0c1a9e18f6ff5a4683dff2aed88752ce6100d67234034ced1",
"electron-v20.1.0-win32-ia32-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
"electron-v20.1.0-win32-ia32.zip": "ad6cf28be839ae9e1b02df9cdd64fa7c2c8134978d4146e27f8d63e387a44e5f",
"electron-v20.1.0-win32-x64-pdb.zip": "9c128e0d01f50588f7c88b27d92f947b22a140f5cc7a7ccd98de880e589956bb",
"electron-v20.1.0-win32-x64-symbols.zip": "90499fa54d5c099d73bc884b19e0db9550501922d65a799cbee36989fef1fab8",
"electron-v20.1.0-win32-x64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
"electron-v20.1.0-win32-x64.zip": "bd15fdc8a5ce13e65302234a73491876743c903c7efbe20abffdc30b370515e0",
"electron.d.ts": "5c2348ca56d0806e3bdb971774f27d7d033fc7cd4dbb92898d2ac3ce3e48df02",
"ffmpeg-v20.1.0-darwin-arm64.zip": "6f0ef2c768874509d8280627b0dd583cdf092343bf1634488eb8d3291c68394f",
"ffmpeg-v20.1.0-darwin-x64.zip": "27af20dec001ebc209d6beb120de85839e21c2a76ba2a2d484b55773478d5c8b",
"ffmpeg-v20.1.0-linux-arm64.zip": "e1a421b751c9914066cc7a3d12f10ded6428e341a400a09265fe2dad6f615540",
"ffmpeg-v20.1.0-linux-armv7l.zip": "793e433d41e5dddd8a326572a8baadca5ac5779852c08096015664b22fee66d0",
"ffmpeg-v20.1.0-linux-x64.zip": "c1daaebdeaaa30017a0404c38b2b3b4d34f6f8990590326e9eb7d6e0d803f362",
"ffmpeg-v20.1.0-mas-arm64.zip": "0aa92fc09e7d9ef16e3b72abd5207560071c8c7dbb7216a94939f2f8e7cf5939",
"ffmpeg-v20.1.0-mas-x64.zip": "5611712be0ccec4e10957bdd4ffb695c0052917faa78dba20c29b579701775c0",
"ffmpeg-v20.1.0-win32-arm64.zip": "5e9409c5389db1c0c461f2bcb81b96e4fa4291bd2224f23469e85a8ad0caf72f",
"ffmpeg-v20.1.0-win32-ia32.zip": "9a2e73ddb6a216fdf81c325b9b508ae8c61f48e74b5fac1089180d96e002fb3c",
"ffmpeg-v20.1.0-win32-x64.zip": "109d3e7518fdf355b49e98de03ee713adb2ef20cc8f2566ac2d70caeeb1a5257",
"hunspell_dictionaries.zip": "176ba556267b734d7d6c64a0fe454601e52ba51c908ac2b3a42d7ed42461a069",
"libcxx-objects-v20.1.0-linux-arm64.zip": "ed3be8e34fbf748c939b88cf7f88fe9c907f3af5301ddac05aaa5d0e490cb82d",
"libcxx-objects-v20.1.0-linux-armv7l.zip": "e8b926f07f1ef1775f849e48d215d321cf7b662f953a26a47a52bd745ca4e030",
"libcxx-objects-v20.1.0-linux-x64.zip": "cae2446d48f2fd9614fcaaea7a7748cc24fca4444fd266066c992b6fe13c70f3",
"libcxx_headers.zip": "97c1b7727255d0c901a4e8fedb5d574dc4c1e8e1388321924c00385998abaff9",
"libcxxabi_headers.zip": "d45500dcdb2ab57275360695f1046da13b4a8bb88a835411c8a433adbcb49ab8",
"mksnapshot-v20.1.0-darwin-arm64.zip": "d6c5513a3dfab42886450a330f8bbf91763dc40741aee7b814d16b3a9814bef6",
"mksnapshot-v20.1.0-darwin-x64.zip": "285c0d3cea0fe8d3f459f66efd95983f25f34244865553fde0fe6d8f18c72e74",
"mksnapshot-v20.1.0-linux-arm64-x64.zip": "796c56a6f62e1253cfdd088937f8590c542b7b8d5bc5ca5a845ebf6e1c026116",
"mksnapshot-v20.1.0-linux-armv7l-x64.zip": "a4be03e0b111a7038f2cd89d235016410959ee18285e0e308ef295d1bc97588c",
"mksnapshot-v20.1.0-linux-x64.zip": "56c5d77c3f81ad85ae605140b5298c7b1cc0dcb9f668fad55e8e9f8f319a2d91",
"mksnapshot-v20.1.0-mas-arm64.zip": "053ca5e80b15a7d18a26a4372bd1f856e59a1f92c45fe2848644fe198b777d02",
"mksnapshot-v20.1.0-mas-x64.zip": "00a5214c758a5630f489e1c5ffc1c139be31a0479780363ba45caf3e7042d9de",
"mksnapshot-v20.1.0-win32-arm64-x64.zip": "6677d88be717b0d90ee170c4911c404cf991082797a078480da1b7a425fa8478",
"mksnapshot-v20.1.0-win32-ia32.zip": "7ad344bb0cbc80cab5735326311fbee9b27da0b3e48b8ba90c5e85233ea6aa9b",
"mksnapshot-v20.1.0-win32-x64.zip": "2804a5a2078dd6183bc4d229d908ad408355c8711cb21d77333eba755069b3b2"
}

25
node_modules/electron/cli.js generated vendored Normal file
View File

@@ -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');

21
node_modules/electron/dist/LICENSE generated vendored Normal file
View File

@@ -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.

117963
node_modules/electron/dist/LICENSES.chromium.html generated vendored Normal file

File diff suppressed because it is too large Load Diff

BIN
node_modules/electron/dist/chrome_100_percent.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/chrome_200_percent.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/d3dcompiler_47.dll generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/electron.exe generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/ffmpeg.dll generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/icudtl.dat generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/libEGL.dll generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/libGLESv2.dll generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/af.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/am.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ar.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/bg.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/bn.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ca.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/cs.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/da.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/de.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/el.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/en-GB.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/en-US.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/es-419.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/es.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/et.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/fa.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/fi.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/fil.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/fr.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/gu.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/he.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/hi.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/hr.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/hu.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/id.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/it.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ja.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/kn.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ko.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/lt.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/lv.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ml.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/mr.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ms.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/nb.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/nl.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/pl.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/pt-BR.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/pt-PT.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ro.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ru.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/sk.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/sl.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/sr.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/sv.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/sw.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ta.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/te.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/th.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/tr.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/uk.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/ur.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/vi.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/zh-CN.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/locales/zh-TW.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/resources.pak generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/resources/default_app.asar generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/snapshot_blob.bin generated vendored Normal file

Binary file not shown.

BIN
node_modules/electron/dist/v8_context_snapshot.bin generated vendored Normal file

Binary file not shown.

1
node_modules/electron/dist/version generated vendored Normal file
View File

@@ -0,0 +1 @@
20.1.0

BIN
node_modules/electron/dist/vk_swiftshader.dll generated vendored Normal file

Binary file not shown.

1
node_modules/electron/dist/vk_swiftshader_icd.json generated vendored Normal file
View File

@@ -0,0 +1 @@
{"file_format_version": "1.0.0", "ICD": {"library_path": ".\\vk_swiftshader.dll", "api_version": "1.0.5"}}

BIN
node_modules/electron/dist/vulkan-1.dll generated vendored Normal file

Binary file not shown.

17832
node_modules/electron/electron.d.ts generated vendored Normal file

File diff suppressed because it is too large Load Diff

21
node_modules/electron/index.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
const fs = require('fs');
const path = require('path');
const pathFile = path.join(__dirname, 'path.txt');
function getElectronPath () {
let executablePath;
if (fs.existsSync(pathFile)) {
executablePath = fs.readFileSync(pathFile, 'utf-8');
}
if (process.env.ELECTRON_OVERRIDE_DIST_PATH) {
return path.join(process.env.ELECTRON_OVERRIDE_DIST_PATH, executablePath || 'electron');
}
if (executablePath) {
return path.join(__dirname, 'dist', executablePath);
} else {
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again');
}
}
module.exports = getElectronPath();

93
node_modules/electron/install.js generated vendored Normal file
View File

@@ -0,0 +1,93 @@
#!/usr/bin/env node
const { version } = require('./package');
const childProcess = require('child_process');
const fs = require('fs');
const os = require('os');
const path = require('path');
const extract = require('extract-zip');
const { downloadArtifact } = require('@electron/get');
if (process.env.ELECTRON_SKIP_BINARY_DOWNLOAD) {
process.exit(0);
}
const platformPath = getPlatformPath();
if (isInstalled()) {
process.exit(0);
}
const platform = process.env.npm_config_platform || process.platform;
let arch = process.env.npm_config_arch || process.arch;
if (platform === 'darwin' && process.platform === 'darwin' && arch === 'x64' &&
process.env.npm_config_arch === undefined) {
// When downloading for macOS ON macOS and we think we need x64 we should
// check if we're running under rosetta and download the arm64 version if appropriate
try {
const output = childProcess.execSync('sysctl -in sysctl.proc_translated');
if (output.toString().trim() === '1') {
arch = 'arm64';
}
} catch {
// Ignore failure
}
}
// downloads if not cached
downloadArtifact({
version,
artifactName: 'electron',
force: process.env.force_no_cache === 'true',
cacheRoot: process.env.electron_config_cache,
checksums: process.env.electron_use_remote_checksums ? undefined : require('./checksums.json'),
platform,
arch
}).then(extractFile).catch(err => {
console.error(err.stack);
process.exit(1);
});
function isInstalled () {
try {
if (fs.readFileSync(path.join(__dirname, 'dist', 'version'), 'utf-8').replace(/^v/, '') !== version) {
return false;
}
if (fs.readFileSync(path.join(__dirname, 'path.txt'), 'utf-8') !== platformPath) {
return false;
}
} catch (ignored) {
return false;
}
const electronPath = process.env.ELECTRON_OVERRIDE_DIST_PATH || path.join(__dirname, 'dist', platformPath);
return fs.existsSync(electronPath);
}
// unzips and makes path.txt point at the correct executable
function extractFile (zipPath) {
return extract(zipPath, { dir: path.join(__dirname, 'dist') })
.then(() => fs.promises.writeFile(path.join(__dirname, 'path.txt'), platformPath));
}
function getPlatformPath () {
const platform = process.env.npm_config_platform || os.platform();
switch (platform) {
case 'mas':
case 'darwin':
return 'Electron.app/Contents/MacOS/Electron';
case 'freebsd':
case 'openbsd':
case 'linux':
return 'electron';
case 'win32':
return 'electron.exe';
default:
throw new Error('Electron builds are not available on platform: ' + platform);
}
}

27
node_modules/electron/package.json generated vendored Normal file
View File

@@ -0,0 +1,27 @@
{
"main": "index.js",
"types": "electron.d.ts",
"bin": {
"electron": "cli.js"
},
"scripts": {
"postinstall": "node install.js"
},
"dependencies": {
"@electron/get": "^1.14.1",
"@types/node": "^16.11.26",
"extract-zip": "^2.0.1"
},
"engines": {
"node": ">= 10.17.0"
},
"name": "electron",
"version": "20.1.0",
"repository": "https://github.com/electron/electron",
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
"license": "MIT",
"author": "Electron Community",
"keywords": [
"electron"
]
}

1
node_modules/electron/path.txt generated vendored Normal file
View File

@@ -0,0 +1 @@
electron.exe