This commit is contained in:
root
2025-11-25 09:56:15 +03:00
commit 68c8f0e80d
23717 changed files with 3200521 additions and 0 deletions

21
mc_test/node_modules/electron/LICENSE generated vendored Executable 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
mc_test/node_modules/electron/README.md generated vendored Executable file
View File

@ -0,0 +1,115 @@
[![Electron Logo](https://electronjs.org/images/electron-logo.svg)](https://electronjs.org)
[![GitHub Actions Build Status](https://github.com/electron/electron/actions/workflows/build.yml/badge.svg)](https://github.com/electron/electron/actions/workflows/build.yml)
[![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
[Visual Studio Code](https://github.com/Microsoft/vscode/) 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 (Big Sur and up): Electron provides 64-bit Intel and Apple Silicon / ARM binaries for macOS.
* 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 18.04 and newer
* Fedora 32 and newer
* Debian 10 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://trademark-policy.openjsf.org/).

77
mc_test/node_modules/electron/checksums.json generated vendored Executable file
View File

@ -0,0 +1,77 @@
{
"chromedriver-v33.4.11-darwin-arm64.zip": "8cccbac5a1922f47bff65734ea05cf4a5a96938bc6696c2bdb8d8ce4b9f4a3eb",
"chromedriver-v33.4.11-darwin-x64.zip": "9056e5f4e7d7e6b99e22f4739668cf8425d44c21431b7218bda1720ee207593a",
"chromedriver-v33.4.11-linux-arm64.zip": "edbe9af31a18cef622386ba95cffd4f0d61fff386313297d204c06fad798134e",
"chromedriver-v33.4.11-linux-armv7l.zip": "da1077bf00682a01b02fa580e51f4df681016be0d58e981094463b818561c213",
"chromedriver-v33.4.11-linux-x64.zip": "acbebfaa77f32ff1c524f0f326f5f36cf35a3875d8a81f22c3b5c4664e34f7c7",
"chromedriver-v33.4.11-mas-arm64.zip": "51b92a3908b24f19a13be9b3415c835ff85e7bc2848fe5ac23b5c83e6ccc2521",
"chromedriver-v33.4.11-mas-x64.zip": "735328e9c35546fc4ceba8037093ece5ed900fec4a401d54afe6c4c10f7104b5",
"chromedriver-v33.4.11-win32-arm64.zip": "9b8b1f6ef0a9c6a0654af3e93c6551b166e77640ccfee512bf9bcc7dfe41c6ff",
"chromedriver-v33.4.11-win32-ia32.zip": "720e0841f3083bfceb6465fee8712d1457bbe2557cb0cd55dc9a08e02e224608",
"chromedriver-v33.4.11-win32-x64.zip": "98f85cf6bf0f888e5a9317b65a3c54434817e1bba3eb90a8fcc0d42b0ee7823f",
"electron-api.json": "016e43e3d4d8588f7146eacd8956f685a81a07bd79312788f7e4d68b9fb40d86",
"electron-v33.4.11-darwin-arm64-dsym-snapshot.zip": "436621b6407172f71febc40bf93bcfe5452592b3a01b75eeba5fb98cf0d54476",
"electron-v33.4.11-darwin-arm64-dsym.zip": "ec6f590c88450a40ce39aefd29a80ac368343e3d1642596180079f76cf3643cf",
"electron-v33.4.11-darwin-arm64-symbols.zip": "a36b93fab0ff1829daef0528894067939db5c9659bca480679ca6fa6b23f5718",
"electron-v33.4.11-darwin-arm64.zip": "9c763751c280b20ec93cecdc7f369bed876fc6728863a9ba5d7435096401f048",
"electron-v33.4.11-darwin-x64-dsym-snapshot.zip": "d2532ad5bac67ea5c39be2fbc147c8041d929207bbd9f5a68cf01ea6b0c80aeb",
"electron-v33.4.11-darwin-x64-dsym.zip": "c187622fe159a6d07902396e1d290762132999c9094a53d619c623c3778e1901",
"electron-v33.4.11-darwin-x64-symbols.zip": "da76088f0d96e6271c52dd5e9be97ff31be7b19f78ab2274c89e8f884f15f272",
"electron-v33.4.11-darwin-x64.zip": "67f3b851e7583309e7bbe3e3e819b1e1c6033ab57207d838bc4ed4982ccef456",
"electron-v33.4.11-linux-arm64-debug.zip": "6888831297e9ac3ac8a4b161b278c9c030ed913a697b5b8ba9bbbeba40b68f7d",
"electron-v33.4.11-linux-arm64-symbols.zip": "81adb55587952e8b7ff83fd6c6c10c785f77b9042761f3c5000a525a653aaca9",
"electron-v33.4.11-linux-arm64.zip": "e865132767e0930f5fef8ee146b9dd83c7f8fb95ed533c4de99e7057d5de5b61",
"electron-v33.4.11-linux-armv7l-debug.zip": "6888831297e9ac3ac8a4b161b278c9c030ed913a697b5b8ba9bbbeba40b68f7d",
"electron-v33.4.11-linux-armv7l-symbols.zip": "ea6067c5bd7629502d4dd96a88d2c55fc791935a8a87826e7783bdde954c339d",
"electron-v33.4.11-linux-armv7l.zip": "c7bc11f757cb123ce7647af593d09b60ddc87338b47c7053c2719522ddc6515c",
"electron-v33.4.11-linux-x64-debug.zip": "fb28566fd1e13a84905778b1a46b0b605e5f9f4afe3cc6ff5826aa33f4e4a5e4",
"electron-v33.4.11-linux-x64-symbols.zip": "aa3e781d6b244f2d52a08cddcbcfc5fca5509e60847290ea9bedd261807170ce",
"electron-v33.4.11-linux-x64.zip": "212d431c7c916292311c797cd91f84467c5abd6e6983cf24b162efff64cee8a9",
"electron-v33.4.11-mas-arm64-dsym-snapshot.zip": "5c42447e96b4bf49e689335cd0af35493c921a276b7b8f0dcd9e9a376529fba5",
"electron-v33.4.11-mas-arm64-dsym.zip": "f724871391772cc9a18e9b07582c4f9f0a506895064067a47e6e5f436d431efe",
"electron-v33.4.11-mas-arm64-symbols.zip": "c0f0d543cbb8609d9e571ab3240b0ab4dfa082bd2fb616e2a2cee104a428e2c0",
"electron-v33.4.11-mas-arm64.zip": "e791f473a9bc4fb4b5c7a11ee07d06724df4a7713c22d9a3b95e68374d8f636c",
"electron-v33.4.11-mas-x64-dsym-snapshot.zip": "255271465b2b5ab52ce60f63e39c5a00897afc5e08d53e53f3281450b5a8721f",
"electron-v33.4.11-mas-x64-dsym.zip": "16e81ef9740a57d6122a025109f0a27a509fd96194422dceff5cecf58f752a2c",
"electron-v33.4.11-mas-x64-symbols.zip": "51c47072d991b99db24a620350805b03e7e46d80ea16e44d7a51e51f41bb1c67",
"electron-v33.4.11-mas-x64.zip": "31320d08eec405fef53a67404b9d67199ff86cec23addfe535e8d5cdbdda4526",
"electron-v33.4.11-win32-arm64-pdb.zip": "112da1837a57e18871fcb0f6b1cea7b9d6128c04872d280516a4fdcec5b1fe20",
"electron-v33.4.11-win32-arm64-symbols.zip": "1c562ff941ef282bc5a1ec0aedf1758bc6dd0e9c3d010a756f75c1fd4639d7fb",
"electron-v33.4.11-win32-arm64-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
"electron-v33.4.11-win32-arm64.zip": "9de9644304115cce6f7984648bfff72b68b5531cd183416fa138d86e710d591d",
"electron-v33.4.11-win32-ia32-pdb.zip": "76c41eac7fdfbcc7c3018f7ec73139c79d556e8a50b67ebfd5c1988254c0d454",
"electron-v33.4.11-win32-ia32-symbols.zip": "cc3fe869392d6f3063a831ce9e9cdb860c7834fbc1f129a69149121fa1fcebf7",
"electron-v33.4.11-win32-ia32-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
"electron-v33.4.11-win32-ia32.zip": "aab9706d474e05bbb3bec944eac120dcfb0db147a53b9aca34f3075c539284be",
"electron-v33.4.11-win32-x64-pdb.zip": "38fe6eb7e33fe9f7e2c8aaf070be649ccc0177423dda2e991970558bb938c08f",
"electron-v33.4.11-win32-x64-symbols.zip": "e78c412c5bbe6450d58a1e73d4a4792d29ff2e680a6cdcab1e2fc33321d474d6",
"electron-v33.4.11-win32-x64-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
"electron-v33.4.11-win32-x64.zip": "f64c8a5a81d9b420b636fdba13e180f49d69f2198e1d86a8b01f858b17a9483c",
"electron.d.ts": "e559d0282980f0f8f2e400dc668514cdb2b0f2dac62f427dbc4df3272eb811fa",
"ffmpeg-v33.4.11-darwin-arm64.zip": "387a3fbca22807f348064241ffad3cdf46a943794a539cf749419540d4943a3c",
"ffmpeg-v33.4.11-darwin-x64.zip": "b12cc2ae23f2fc98914f267d8711d0e8a61e5d9132c31ca2b35509b878ed236c",
"ffmpeg-v33.4.11-linux-arm64.zip": "b73537aca0bdbd33c3f5d71b766e9c24702d52b2944b6c540585fab944b0a817",
"ffmpeg-v33.4.11-linux-armv7l.zip": "7ee1784779348f278bb68045a0f8fea2fce4b894d037bdbffc9d522813f7ea2b",
"ffmpeg-v33.4.11-linux-x64.zip": "a4da8899f44371b05f7d61e8031b930304ec9c6232bd7f1f50420e1eeb0e8088",
"ffmpeg-v33.4.11-mas-arm64.zip": "30d5c903181a0fa778c91691c9dfffec1d80ead55adc8783634bf978fafcd841",
"ffmpeg-v33.4.11-mas-x64.zip": "34069b4a53e7d44ae8a6d01a68d1813713d76e1302ba3a4c5d8e0a96abde6cfb",
"ffmpeg-v33.4.11-win32-arm64.zip": "481c1279b912f4c4d6aac8bd9133f3a9df226e853b13e58d7f368533ebe1f0e8",
"ffmpeg-v33.4.11-win32-ia32.zip": "481c1279b912f4c4d6aac8bd9133f3a9df226e853b13e58d7f368533ebe1f0e8",
"ffmpeg-v33.4.11-win32-x64.zip": "481c1279b912f4c4d6aac8bd9133f3a9df226e853b13e58d7f368533ebe1f0e8",
"hunspell_dictionaries.zip": "2982cb8297498ba03f50a2d83868a76ad1281755b940ea91f0c80486c65217ec",
"libcxx-objects-v33.4.11-linux-arm64.zip": "b1d34555c835373172883efe1384ff8246b90f24e1b61310c031f1ee4ba5fd22",
"libcxx-objects-v33.4.11-linux-armv7l.zip": "28a84c5775ba2b88b1041da9ec744127ad874a0558c7fbdbbc7dacacda6a9ad4",
"libcxx-objects-v33.4.11-linux-x64.zip": "3fba9388a142ca7cfc51884d918488b79a9220ce4c32a67116d305041e425535",
"libcxx_headers.zip": "79bc7c509b9cc49e2ca9407e330f786ea0acf8ccb916251f5e3ed8c3a2e67f6f",
"libcxxabi_headers.zip": "ab94ea05fcfde00d49dcda719ac59eab0399bb68e3a88eab1cda18562196f4d2",
"mksnapshot-v33.4.11-darwin-arm64.zip": "1c387e784216c3e4dc206f64b69b09f06cc8f0c15014da7acb695b053f968a36",
"mksnapshot-v33.4.11-darwin-x64.zip": "a62d5db12b8ab426e1aa38b316832565b9aee481d0c849f7e29086c5c89beca4",
"mksnapshot-v33.4.11-linux-arm64-x64.zip": "45e4464ed5102857d80ec3e94349ba9ee7d77cb1e3c928b42866246b37a55456",
"mksnapshot-v33.4.11-linux-armv7l-x64.zip": "213826da51538cd42f3feea783c28f901ffe850cb0686e49febf8e022164aa18",
"mksnapshot-v33.4.11-linux-x64.zip": "84ab35c5def830b284c7b7dca59e30e357a021d83390b4cbb299ca81a07cc32b",
"mksnapshot-v33.4.11-mas-arm64.zip": "5fde2309c2fe3fa1da60fbaf6df638ccdd921dcd7290eed8df01b1857a6f70aa",
"mksnapshot-v33.4.11-mas-x64.zip": "14d3dcefc63ee9bde650872e46e7f21a8639f7dd070688b4bab7030fc49786d6",
"mksnapshot-v33.4.11-win32-arm64-x64.zip": "5f26e774652271bb0f68466aec0176c3882d316653da82f716f566ea68ee9d40",
"mksnapshot-v33.4.11-win32-ia32.zip": "9b9f19b1fa1f8c5744e7bd95dafe520d71379040607fe266a413261f6484b666",
"mksnapshot-v33.4.11-win32-x64.zip": "1d8f77995b1f39aa5cd019ff8ff93ed6ad3b69a8b6748e61872db8faccfef364"
}

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

@ -0,0 +1,25 @@
#!/usr/bin/env node
const proc = require('child_process');
const electron = require('./');
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
mc_test/node_modules/electron/dist/LICENSE generated vendored Executable 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.

164489
mc_test/node_modules/electron/dist/LICENSES.chromium.html generated vendored Executable file

File diff suppressed because it is too large Load Diff

BIN
mc_test/node_modules/electron/dist/chrome_100_percent.pak generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/chrome_200_percent.pak generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/d3dcompiler_47.dll generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/electron.exe generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/ffmpeg.dll generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/icudtl.dat generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/libEGL.dll generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/libGLESv2.dll generated vendored Executable file

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/resources.pak generated vendored Executable file

Binary file not shown.

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

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/snapshot_blob.bin generated vendored Executable file

Binary file not shown.

BIN
mc_test/node_modules/electron/dist/v8_context_snapshot.bin generated vendored Executable file

Binary file not shown.

1
mc_test/node_modules/electron/dist/version generated vendored Executable file
View File

@ -0,0 +1 @@
33.4.11

BIN
mc_test/node_modules/electron/dist/vk_swiftshader.dll generated vendored Executable file

Binary file not shown.

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

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

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

Binary file not shown.

24346
mc_test/node_modules/electron/electron.d.ts generated vendored Executable file

File diff suppressed because it is too large Load Diff

21
mc_test/node_modules/electron/index.js generated vendored Executable 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();

109
mc_test/node_modules/electron/install.js generated vendored Executable file
View File

@ -0,0 +1,109 @@
#!/usr/bin/env node
const { downloadArtifact } = require('@electron/get');
const extract = require('extract-zip');
const childProcess = require('child_process');
const fs = require('fs');
const os = require('os');
const path = require('path');
const { version } = require('./package');
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 ?? process.env.npm_config_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 {
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) {
const distPath = process.env.ELECTRON_OVERRIDE_DIST_PATH || path.join(__dirname, 'dist');
return extract(zipPath, { dir: path.join(__dirname, 'dist') }).then(() => {
// If the zip contains an "electron.d.ts" file,
// move that up
const srcTypeDefPath = path.join(distPath, 'electron.d.ts');
const targetTypeDefPath = path.join(__dirname, 'electron.d.ts');
const hasTypeDefinitions = fs.existsSync(srcTypeDefPath);
if (hasTypeDefinitions) {
fs.renameSync(srcTypeDefPath, targetTypeDefPath);
}
// Write a "path.txt" file.
return 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
mc_test/node_modules/electron/package.json generated vendored Executable 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": "^2.0.0",
"@types/node": "^20.9.0",
"extract-zip": "^2.0.1"
},
"engines": {
"node": ">= 12.20.55"
},
"name": "electron",
"repository": "https://github.com/electron/electron",
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
"license": "MIT",
"author": "Electron Community",
"keywords": [
"electron"
],
"version": "33.4.11"
}

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

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