electron 18.0.0-beta.5 → 19.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -11
- package/checksums.json +82 -82
- package/electron.d.ts +127 -18
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -34,6 +34,17 @@ For more installation options and troubleshooting tips, see
|
|
|
34
34
|
[installation](docs/tutorial/installation.md). For info on how to manage Electron versions in your apps, see
|
|
35
35
|
[Electron versioning](docs/tutorial/electron-versioning.md).
|
|
36
36
|
|
|
37
|
+
## Platform support
|
|
38
|
+
|
|
39
|
+
Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
40
|
+
|
|
41
|
+
* macOS (El Capitan and up): Electron provides 64-bit Intel and ARM binaries for macOS. Apple Silicon support was added in Electron 11.
|
|
42
|
+
* 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.
|
|
43
|
+
* Linux: The prebuilt binaries of Electron are built on Ubuntu 20.04. They have also been verified to work on:
|
|
44
|
+
* Ubuntu 14.04 and newer
|
|
45
|
+
* Fedora 24 and newer
|
|
46
|
+
* Debian 8 and newer
|
|
47
|
+
|
|
37
48
|
## Quick start & Electron Fiddle
|
|
38
49
|
|
|
39
50
|
Use [`Electron Fiddle`](https://github.com/electron/fiddle)
|
|
@@ -54,12 +65,10 @@ npm start
|
|
|
54
65
|
|
|
55
66
|
## Resources for learning Electron
|
|
56
67
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
- [electron/simple-samples](https://github.com/electron/simple-samples) - Small applications with ideas for taking them further
|
|
62
|
-
- [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - An Electron app that teaches you how to use Electron
|
|
68
|
+
* [electronjs.org/docs](https://electronjs.org/docs) - All of Electron's documentation
|
|
69
|
+
* [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments
|
|
70
|
+
* [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - A very basic starter Electron app
|
|
71
|
+
* [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community
|
|
63
72
|
|
|
64
73
|
## Programmatic usage
|
|
65
74
|
|
|
@@ -80,11 +89,15 @@ const child = proc.spawn(electron)
|
|
|
80
89
|
|
|
81
90
|
### Mirrors
|
|
82
91
|
|
|
83
|
-
|
|
92
|
+
* [China](https://npmmirror.com/mirrors/electron/)
|
|
93
|
+
|
|
94
|
+
See the [Advanced Installation Instructions](https://www.electronjs.org/docs/latest/tutorial/installation#mirror) to learn how to use a custom mirror.
|
|
84
95
|
|
|
85
|
-
## Documentation
|
|
96
|
+
## Documentation translations
|
|
86
97
|
|
|
87
|
-
|
|
98
|
+
We crowdsource translations for our documentation via [Crowdin](https://crowdin.com/project/electron).
|
|
99
|
+
We currently accept translations for Chinese (Simplified), French, German, Japanese, Portuguese,
|
|
100
|
+
Russian, and Spanish.
|
|
88
101
|
|
|
89
102
|
## Contributing
|
|
90
103
|
|
|
@@ -93,10 +106,10 @@ If you are interested in reporting/fixing issues and contributing directly to th
|
|
|
93
106
|
## Community
|
|
94
107
|
|
|
95
108
|
Info on reporting bugs, getting help, finding third-party tools and sample apps,
|
|
96
|
-
and more can be found
|
|
109
|
+
and more can be found on the [Community page](https://www.electronjs.org/community).
|
|
97
110
|
|
|
98
111
|
## License
|
|
99
112
|
|
|
100
113
|
[MIT](https://github.com/electron/electron/blob/main/LICENSE)
|
|
101
114
|
|
|
102
|
-
When using
|
|
115
|
+
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).
|
package/checksums.json
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"chromedriver-
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron-
|
|
51
|
-
"electron-
|
|
52
|
-
"electron-
|
|
53
|
-
"electron-
|
|
54
|
-
"electron.d.ts": "
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"ffmpeg-
|
|
62
|
-
"ffmpeg-
|
|
63
|
-
"ffmpeg-
|
|
64
|
-
"ffmpeg-
|
|
65
|
-
"ffmpeg-
|
|
66
|
-
"hunspell_dictionaries.zip": "
|
|
67
|
-
"libcxx-objects-
|
|
68
|
-
"libcxx-objects-
|
|
69
|
-
"libcxx-objects-
|
|
70
|
-
"libcxx-objects-
|
|
71
|
-
"libcxx_headers.zip": "
|
|
72
|
-
"libcxxabi_headers.zip": "
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
77
|
-
"mksnapshot-
|
|
78
|
-
"mksnapshot-
|
|
79
|
-
"mksnapshot-
|
|
80
|
-
"mksnapshot-
|
|
81
|
-
"mksnapshot-
|
|
82
|
-
"mksnapshot-
|
|
83
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v19.0.0-alpha.1-darwin-arm64.zip": "4df6ab35fc7709a3b97fa9ea42e7deff445ded578316137a28901516f021ae46",
|
|
3
|
+
"chromedriver-v19.0.0-alpha.1-darwin-x64.zip": "bcd353f289ac8b7799d3c71191b6880fdcab97fd18965474da099da1cfb33d4d",
|
|
4
|
+
"chromedriver-v19.0.0-alpha.1-linux-arm64.zip": "bc4e51bc35ca17870b543757204a5c0f6531b441e41fe72d0d2c8baeacd15ab6",
|
|
5
|
+
"chromedriver-v19.0.0-alpha.1-linux-armv7l.zip": "8c6c895515079ee01b933de686a94d1bc994f1509f54d06b5e299b7afc4a8ebd",
|
|
6
|
+
"chromedriver-v19.0.0-alpha.1-linux-ia32.zip": "00d69cf86e07910d30efdecf1666e3576eaf13bf5f41675ab2ce16f65ab4134d",
|
|
7
|
+
"chromedriver-v19.0.0-alpha.1-linux-x64.zip": "b31da51b2a494e08d05413fe6b4d4cce80b0ddb0167e0caeaf12d4028ed6b56b",
|
|
8
|
+
"chromedriver-v19.0.0-alpha.1-mas-arm64.zip": "7e6a67cbddda9b611c72d771d45955cef15f9aeb36abc48f00d35e6918261611",
|
|
9
|
+
"chromedriver-v19.0.0-alpha.1-mas-x64.zip": "9e27edaa4b646cd473251435b0f90ec2cd88c6dde6340296ed83c75330c60567",
|
|
10
|
+
"chromedriver-v19.0.0-alpha.1-win32-arm64.zip": "a915bb706590dde3cafce66b191bf41d4ed6a19209bb57524b240cee14a0129b",
|
|
11
|
+
"chromedriver-v19.0.0-alpha.1-win32-ia32.zip": "3545d7e23ba220f80fb5370492ed66120a2d6edab8bae7886a2cb8ffff7444f9",
|
|
12
|
+
"chromedriver-v19.0.0-alpha.1-win32-x64.zip": "d2a43a875e7fd32cef6356edb0d3884247f7195881debbbe307afa52761888b8",
|
|
13
|
+
"electron-api.json": "0b3b191e05e8e0c1e38a21174b82a595bf7c1c5eb0595a5ee9badd67522b45fe",
|
|
14
|
+
"electron-v19.0.0-alpha.1-darwin-arm64-dsym-snapshot.zip": "b1cc9c1ecc07a199d24093f03f0ea635ebbf1e0497efe10b85922df570b41f81",
|
|
15
|
+
"electron-v19.0.0-alpha.1-darwin-arm64-dsym.zip": "c99d62af479b21d2ef096e6fb42776a158fc8f29ab0125df40d6284bd4488d5c",
|
|
16
|
+
"electron-v19.0.0-alpha.1-darwin-arm64-symbols.zip": "5126429ff3a6577af88cf21662f48e5e46fba15762fa0d58d851f7d17b97a145",
|
|
17
|
+
"electron-v19.0.0-alpha.1-darwin-arm64.zip": "fa7d81c2c06889527588260a8dda203c663519a54ce1dd4701f322bd9c4bfab3",
|
|
18
|
+
"electron-v19.0.0-alpha.1-darwin-x64-dsym-snapshot.zip": "5ec4ffbf520a8205cf20cb0f704e613ce0fd770793e1d73c5c93e84ad03e1d4d",
|
|
19
|
+
"electron-v19.0.0-alpha.1-darwin-x64-dsym.zip": "93b60b9a0af33fd839a9c2e875c11f85c3c678839df24828b5295f7740a1e5cf",
|
|
20
|
+
"electron-v19.0.0-alpha.1-darwin-x64-symbols.zip": "e62c4b9864428c2b38b086a8f8f5be67ce4ce3d5bb2d764b4c64039501b144f3",
|
|
21
|
+
"electron-v19.0.0-alpha.1-darwin-x64.zip": "ea864d2ad14a8e095d8bf092d5506e8cb24bca319a3072f01b613924d57dfd0a",
|
|
22
|
+
"electron-v19.0.0-alpha.1-linux-arm64-debug.zip": "adcdcf414f19da5389ad4958f3458c1c7c89d635470984bfbbc78d4f757ac5ce",
|
|
23
|
+
"electron-v19.0.0-alpha.1-linux-arm64-symbols.zip": "b86586d9e8cd7c7fe3bc08615a5ace4bb3b15315d94651bbb884a2aec3bbd518",
|
|
24
|
+
"electron-v19.0.0-alpha.1-linux-arm64.zip": "7182b153d777e667b57de0171e5e12e32f870d7e9247634cbebb9118049a28c0",
|
|
25
|
+
"electron-v19.0.0-alpha.1-linux-armv7l-debug.zip": "adcdcf414f19da5389ad4958f3458c1c7c89d635470984bfbbc78d4f757ac5ce",
|
|
26
|
+
"electron-v19.0.0-alpha.1-linux-armv7l-symbols.zip": "16366eef4326e09874fbceee20c23f913d7cb08bb42716e7e6b319a2f93495a0",
|
|
27
|
+
"electron-v19.0.0-alpha.1-linux-armv7l.zip": "2d6845c5ed979d03d88ee11d6acfda6ea74f8fffd17e915544a031cb8c812f6f",
|
|
28
|
+
"electron-v19.0.0-alpha.1-linux-ia32-debug.zip": "adcdcf414f19da5389ad4958f3458c1c7c89d635470984bfbbc78d4f757ac5ce",
|
|
29
|
+
"electron-v19.0.0-alpha.1-linux-ia32-symbols.zip": "b3784e88bd1a82eaebfe4d7a670cba61ffbd71118c90185ffd433164a5bdeba8",
|
|
30
|
+
"electron-v19.0.0-alpha.1-linux-ia32.zip": "70c94a09bdc5dbfb560164caaadcdc451fb6b4f3aaf9583495b27e1544a8cb8c",
|
|
31
|
+
"electron-v19.0.0-alpha.1-linux-x64-debug.zip": "9a995e590f4178891e0f69f3f9499483d93600988ca9c697e6c66fd5b9640bb0",
|
|
32
|
+
"electron-v19.0.0-alpha.1-linux-x64-symbols.zip": "c293d5faa40979d29c36c7b690bf014397a921f12321a4d7011c8c10f40e37a8",
|
|
33
|
+
"electron-v19.0.0-alpha.1-linux-x64.zip": "c6b6b6a0f567f7c2052fee5daaa69ac0304c1e9919f9a0955d406a66a98ad34d",
|
|
34
|
+
"electron-v19.0.0-alpha.1-mas-arm64-dsym-snapshot.zip": "b1cc9c1ecc07a199d24093f03f0ea635ebbf1e0497efe10b85922df570b41f81",
|
|
35
|
+
"electron-v19.0.0-alpha.1-mas-arm64-dsym.zip": "25e571f0f649974ab1d75c93b98732d0751a3640561706b53c21c7c97ef10e70",
|
|
36
|
+
"electron-v19.0.0-alpha.1-mas-arm64-symbols.zip": "ce8fc13b8de80b5021b3bd4d256e8ac3c03def6b1e34e1ed49feb72f5fc0ec18",
|
|
37
|
+
"electron-v19.0.0-alpha.1-mas-arm64.zip": "51a1cab697561486e0911b4c5563c30a8ea5b51c4bde4b5d6356d1a8eb6d69a4",
|
|
38
|
+
"electron-v19.0.0-alpha.1-mas-x64-dsym-snapshot.zip": "a6d5351cde90df9f6cafa55f7e5006c6085f08b7f23309b2417b9c1610b4afa4",
|
|
39
|
+
"electron-v19.0.0-alpha.1-mas-x64-dsym.zip": "3675aa4da16b46400e5cbc45d608afa919741f9d21c10908a157e0227f4b21b7",
|
|
40
|
+
"electron-v19.0.0-alpha.1-mas-x64-symbols.zip": "ade956547258fda3978b52964ba410a16ab9c756a410974ff2675e0747d7c2cd",
|
|
41
|
+
"electron-v19.0.0-alpha.1-mas-x64.zip": "b341cf0ffce3e20861a19153827dbac6ef38467f90a2528e42e51062e38388f4",
|
|
42
|
+
"electron-v19.0.0-alpha.1-win32-arm64-pdb.zip": "b76c66f4fa4a22f1a31f54f522061c8d10eeaf25730627dd67cae5363926b27e",
|
|
43
|
+
"electron-v19.0.0-alpha.1-win32-arm64-symbols.zip": "9f9be403df661492d76ee674272829e3c1e36b48bf0f5f6988236246d82b1acb",
|
|
44
|
+
"electron-v19.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
45
|
+
"electron-v19.0.0-alpha.1-win32-arm64.zip": "5ac4c08affe76514b322a5bc5b1b6aa5b2a135462f8ad294124b47f1c08d9f26",
|
|
46
|
+
"electron-v19.0.0-alpha.1-win32-ia32-pdb.zip": "ef65161de1d53958a33d4cb41bd258d1cf994e4360e4423c134871fe73ffd961",
|
|
47
|
+
"electron-v19.0.0-alpha.1-win32-ia32-symbols.zip": "a4d82996d0c35078ae62192c90931bda72343dc65f9c50d4f9f60e8fc43de5e2",
|
|
48
|
+
"electron-v19.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
49
|
+
"electron-v19.0.0-alpha.1-win32-ia32.zip": "ba219294bd792fe6d54a641c086296e94795b157c25542ec5aa2f3a0690a7102",
|
|
50
|
+
"electron-v19.0.0-alpha.1-win32-x64-pdb.zip": "67db71b967cac977f220525ad93b553039a4dbe47d8f8aec8d4bce7aab1a61a4",
|
|
51
|
+
"electron-v19.0.0-alpha.1-win32-x64-symbols.zip": "6b259e05b47d6bd01c02dd3ea25b31922aaaa3a10f2184bffb0cc67b14693e5e",
|
|
52
|
+
"electron-v19.0.0-alpha.1-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
53
|
+
"electron-v19.0.0-alpha.1-win32-x64.zip": "b17b4ea86655a2d31110e30d71cc8e4503941510cbc89e4fc0ddd4dc97f68ab1",
|
|
54
|
+
"electron.d.ts": "30fe2612d333dc40b46b59d96362543bd120eb144f2fc6b2ae463808439a793a",
|
|
55
|
+
"ffmpeg-v19.0.0-alpha.1-darwin-arm64.zip": "4f419cd1485a10d53522a539566b33a3887ab9f71771a17b3c28525390107dcf",
|
|
56
|
+
"ffmpeg-v19.0.0-alpha.1-darwin-x64.zip": "7ee9aab5ada6e96add817b9b56df4198170881edacc3e865c6daeca756841ad9",
|
|
57
|
+
"ffmpeg-v19.0.0-alpha.1-linux-arm64.zip": "0045c09548a7e388f1e4d7b6f383dae85c97f53800b39b641a562667efbbbd1e",
|
|
58
|
+
"ffmpeg-v19.0.0-alpha.1-linux-armv7l.zip": "210769a2a470bd82be3eeaec385fb01070aa32b90cfa4af0cd3132a76de70c31",
|
|
59
|
+
"ffmpeg-v19.0.0-alpha.1-linux-ia32.zip": "6aa1f1e6a675f38e9fb587e53c2a60f46c6e92bfef61fe2d2f95e8f1a57836ad",
|
|
60
|
+
"ffmpeg-v19.0.0-alpha.1-linux-x64.zip": "1496f23e617392b00fb30ecf7518996cdc88acadf5a3de02840a6da532d45fd4",
|
|
61
|
+
"ffmpeg-v19.0.0-alpha.1-mas-arm64.zip": "3ccb72bf1eee5d88e25c06f3e0a2846479323f59aacf12765a6b2f4b79d02171",
|
|
62
|
+
"ffmpeg-v19.0.0-alpha.1-mas-x64.zip": "d16ad5c58035054efe4a5c7cefab1eaa11173437079b47753a4c0817c95f601c",
|
|
63
|
+
"ffmpeg-v19.0.0-alpha.1-win32-arm64.zip": "b7eee34cbfb7bfa3b2eaef19f80b624a1b580a6bd2ae0c2928aa82f7d57143a5",
|
|
64
|
+
"ffmpeg-v19.0.0-alpha.1-win32-ia32.zip": "04927449fd83cf7c168de7a5e498599ebadeb41ffb4de550ac50d023fa8e7a8b",
|
|
65
|
+
"ffmpeg-v19.0.0-alpha.1-win32-x64.zip": "3a9a0a1db752c6d93e21d17df8a0a25d47032b7ebbc472b8a6be690b56026560",
|
|
66
|
+
"hunspell_dictionaries.zip": "fc22b61a0d671b56a2e8da585c7cd5c66e12663c6f7675815905946fa8d9bcb6",
|
|
67
|
+
"libcxx-objects-v19.0.0-alpha.1-linux-arm64.zip": "4e010fcba267a4a953cc81b60ca5e29fb9fccc746ebe3b25c691f205825d3aff",
|
|
68
|
+
"libcxx-objects-v19.0.0-alpha.1-linux-armv7l.zip": "c27f25ca66b5551332989fc322d02cc416d193fdfc385de0faad37db6fbf4ce0",
|
|
69
|
+
"libcxx-objects-v19.0.0-alpha.1-linux-ia32.zip": "535cd6c77412e8dd05516cb9508c67b0a1b6d059cee181479b1a448b7d205677",
|
|
70
|
+
"libcxx-objects-v19.0.0-alpha.1-linux-x64.zip": "54cae84183830b43a1972e6527d8424de715fecb87e4aa923c49a09b69ff270e",
|
|
71
|
+
"libcxx_headers.zip": "198d3149141d469f745ee5cc6cff81eeb6a690b1f41f8d721a294ee3c4734113",
|
|
72
|
+
"libcxxabi_headers.zip": "3db14d0e90593e2f09f585751767fae5b6eae5d334863311179db9edae65a8ce",
|
|
73
|
+
"mksnapshot-v19.0.0-alpha.1-darwin-arm64.zip": "b9d7fe54f354b63b3cc0df4a8170ec8456ecb0134a07e4cfa511edb8a7c27f6d",
|
|
74
|
+
"mksnapshot-v19.0.0-alpha.1-darwin-x64.zip": "e75427a6e996e57b79f6ac3a4505d19a32f26d875c88e4aeb90d7761971cdac4",
|
|
75
|
+
"mksnapshot-v19.0.0-alpha.1-linux-arm64-x64.zip": "02432d6752f0b23fb7b3e4530117ddc7cf4958f7807eed58a07911cce2c23471",
|
|
76
|
+
"mksnapshot-v19.0.0-alpha.1-linux-armv7l-x64.zip": "9a9c17247b5a43241c5697977849299b0566074d04bed6156d76e3155ee31d58",
|
|
77
|
+
"mksnapshot-v19.0.0-alpha.1-linux-ia32.zip": "ae79d857077c9aad2a6345c8df79a0b18f505699ced356b414bc84bf2a3ae5cb",
|
|
78
|
+
"mksnapshot-v19.0.0-alpha.1-linux-x64.zip": "40ee010b3286abba513973d22292aa08e3c340931cd93e63d23f750b9ce939e2",
|
|
79
|
+
"mksnapshot-v19.0.0-alpha.1-mas-arm64.zip": "5ba88377e46ac87bced8f41ae987a48ff7cc67dd16e5e21e5fdf1a602a2f13a5",
|
|
80
|
+
"mksnapshot-v19.0.0-alpha.1-mas-x64.zip": "04ae268c374493b5c8eb5e28b807842bc73b012d4d64cc5a2a040d8ffe888ca2",
|
|
81
|
+
"mksnapshot-v19.0.0-alpha.1-win32-arm64-x64.zip": "5fb44bb900d989a47ba39b020cc33d5e390a16ac39585233eb5b013a07aef955",
|
|
82
|
+
"mksnapshot-v19.0.0-alpha.1-win32-ia32.zip": "2a6cce18763721eb856d9e28fe27a53bedf50ffc8e02e0b672f873ff22695607",
|
|
83
|
+
"mksnapshot-v19.0.0-alpha.1-win32-x64.zip": "f480bd62f4ac14e8b5cbb9eeeaeb981b7583c2f5ad526b8467a90ed18d91aa84"
|
|
84
84
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 19.0.0-alpha.1
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/electron-typescript-definitions
|
|
@@ -1673,6 +1673,36 @@ declare namespace Electron {
|
|
|
1673
1673
|
*/
|
|
1674
1674
|
getBounds(): Rectangle;
|
|
1675
1675
|
setAutoResize(options: AutoResizeOptions): void;
|
|
1676
|
+
/**
|
|
1677
|
+
* Examples of valid `color` values:
|
|
1678
|
+
*
|
|
1679
|
+
* * Hex
|
|
1680
|
+
* * #fff (RGB)
|
|
1681
|
+
* * #ffff (ARGB)
|
|
1682
|
+
* * #ffffff (RRGGBB)
|
|
1683
|
+
* * #ffffffff (AARRGGBB)
|
|
1684
|
+
* * RGB
|
|
1685
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
1686
|
+
* * e.g. rgb(255, 255, 255)
|
|
1687
|
+
* * RGBA
|
|
1688
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
1689
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
1690
|
+
* * HSL
|
|
1691
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
1692
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
1693
|
+
* * HSLA
|
|
1694
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
1695
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
1696
|
+
* * Color name
|
|
1697
|
+
* * Options are listed in SkParseColor.cpp
|
|
1698
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
1699
|
+
* * e.g. `blueviolet` or `red`
|
|
1700
|
+
*
|
|
1701
|
+
* **Note:** Hex format with alpha takes `AARRGGBB` or `ARGB`, _not_ `RRGGBBA` or
|
|
1702
|
+
* `RGA`.
|
|
1703
|
+
*
|
|
1704
|
+
* @experimental
|
|
1705
|
+
*/
|
|
1676
1706
|
setBackgroundColor(color: string): void;
|
|
1677
1707
|
/**
|
|
1678
1708
|
* Resizes and moves the view to the supplied bounds relative to the window.
|
|
@@ -2205,7 +2235,12 @@ declare namespace Electron {
|
|
|
2205
2235
|
focus(): void;
|
|
2206
2236
|
focusOnWebView(): void;
|
|
2207
2237
|
/**
|
|
2208
|
-
* Gets the background color of the window
|
|
2238
|
+
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
2239
|
+
*
|
|
2240
|
+
* See Setting `backgroundColor`.
|
|
2241
|
+
*
|
|
2242
|
+
* **Note:** The alpha value is _not_ returned alongside the red, green, and blue
|
|
2243
|
+
* values.
|
|
2209
2244
|
*/
|
|
2210
2245
|
getBackgroundColor(): string;
|
|
2211
2246
|
/**
|
|
@@ -2606,6 +2641,30 @@ declare namespace Electron {
|
|
|
2606
2641
|
*/
|
|
2607
2642
|
setAutoHideMenuBar(hide: boolean): void;
|
|
2608
2643
|
/**
|
|
2644
|
+
* Examples of valid `backgroundColor` values:
|
|
2645
|
+
*
|
|
2646
|
+
* * Hex
|
|
2647
|
+
* * #fff (shorthand RGB)
|
|
2648
|
+
* * #ffff (shorthand ARGB)
|
|
2649
|
+
* * #ffffff (RGB)
|
|
2650
|
+
* * #ffffffff (ARGB)
|
|
2651
|
+
* * RGB
|
|
2652
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
2653
|
+
* * e.g. rgb(255, 255, 255)
|
|
2654
|
+
* * RGBA
|
|
2655
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
2656
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
2657
|
+
* * HSL
|
|
2658
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
2659
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
2660
|
+
* * HSLA
|
|
2661
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
2662
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
2663
|
+
* * Color name
|
|
2664
|
+
* * Options are listed in SkParseColor.cpp
|
|
2665
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
2666
|
+
* * e.g. `blueviolet` or `red`
|
|
2667
|
+
*
|
|
2609
2668
|
* Sets the background color of the window. See Setting `backgroundColor`.
|
|
2610
2669
|
*/
|
|
2611
2670
|
setBackgroundColor(backgroundColor: string): void;
|
|
@@ -2874,6 +2933,13 @@ declare namespace Electron {
|
|
|
2874
2933
|
* Changes the title of native window to `title`.
|
|
2875
2934
|
*/
|
|
2876
2935
|
setTitle(title: string): void;
|
|
2936
|
+
/**
|
|
2937
|
+
* On a Window with Window Controls Overlay already enabled, this method updates
|
|
2938
|
+
* the style of the title bar overlay.
|
|
2939
|
+
*
|
|
2940
|
+
* @platform win32
|
|
2941
|
+
*/
|
|
2942
|
+
setTitleBarOverlay(options: TitleBarOverlayOptions): void;
|
|
2877
2943
|
/**
|
|
2878
2944
|
* Raises `browserView` above other `BrowserView`s attached to `win`. Throws an
|
|
2879
2945
|
* error if `browserView` is not attached to `win`.
|
|
@@ -5908,6 +5974,14 @@ declare namespace Electron {
|
|
|
5908
5974
|
once(event: 'updated', listener: Function): this;
|
|
5909
5975
|
addListener(event: 'updated', listener: Function): this;
|
|
5910
5976
|
removeListener(event: 'updated', listener: Function): this;
|
|
5977
|
+
/**
|
|
5978
|
+
* A `boolean` indicating whether Chromium is in forced colors mode, controlled by
|
|
5979
|
+
* system accessibility settings. Currently, Windows high contrast is the only
|
|
5980
|
+
* system setting that triggers forced colors mode.
|
|
5981
|
+
*
|
|
5982
|
+
* @platform win32
|
|
5983
|
+
*/
|
|
5984
|
+
readonly inForcedColorsMode: boolean;
|
|
5911
5985
|
/**
|
|
5912
5986
|
* A `boolean` for if the OS / Chromium currently has a dark mode enabled or is
|
|
5913
5987
|
* being instructed to show a dark-style UI. If you want to modify this value you
|
|
@@ -8473,7 +8547,7 @@ declare namespace Electron {
|
|
|
8473
8547
|
*
|
|
8474
8548
|
* @platform darwin
|
|
8475
8549
|
*/
|
|
8476
|
-
setUserDefault(key: string, type:
|
|
8550
|
+
setUserDefault<Type extends keyof UserDefaultTypes>(key: string, type: Type, value: UserDefaultTypes[Type]): void;
|
|
8477
8551
|
/**
|
|
8478
8552
|
* The ID of this subscription
|
|
8479
8553
|
*
|
|
@@ -9578,7 +9652,8 @@ declare namespace Electron {
|
|
|
9578
9652
|
*/
|
|
9579
9653
|
static getAllWebContents(): WebContents[];
|
|
9580
9654
|
/**
|
|
9581
|
-
* The web contents that is focused in this application, otherwise returns
|
|
9655
|
+
* | null - The web contents that is focused in this application, otherwise returns
|
|
9656
|
+
* `null`.
|
|
9582
9657
|
*/
|
|
9583
9658
|
static getFocusedWebContents(): WebContents;
|
|
9584
9659
|
/**
|
|
@@ -10691,9 +10766,6 @@ declare namespace Electron {
|
|
|
10691
10766
|
* This event can be used to configure `webPreferences` for the `webContents` of a
|
|
10692
10767
|
* `<webview>` before it's loaded, and provides the ability to set settings that
|
|
10693
10768
|
* can't be set via `<webview>` attributes.
|
|
10694
|
-
*
|
|
10695
|
-
* **Note:** The specified `preload` script option will appear as `preloadURL` (not
|
|
10696
|
-
* `preload`) in the `webPreferences` object emitted with this event.
|
|
10697
10769
|
*/
|
|
10698
10770
|
on(event: 'will-attach-webview', listener: (event: Event,
|
|
10699
10771
|
/**
|
|
@@ -11632,6 +11704,19 @@ declare namespace Electron {
|
|
|
11632
11704
|
* specified.
|
|
11633
11705
|
*/
|
|
11634
11706
|
setIsolatedWorldInfo(worldId: number, info: Info): void;
|
|
11707
|
+
/**
|
|
11708
|
+
* Sets a provider for spell checking in input fields and text areas.
|
|
11709
|
+
*
|
|
11710
|
+
* If you want to use this method you must disable the builtin spellchecker when
|
|
11711
|
+
* you construct the window.
|
|
11712
|
+
*
|
|
11713
|
+
* The `provider` must be an object that has a `spellCheck` method that accepts an
|
|
11714
|
+
* array of individual words for spellchecking. The `spellCheck` function runs
|
|
11715
|
+
* asynchronously and calls the `callback` function with an array of misspelt words
|
|
11716
|
+
* when complete.
|
|
11717
|
+
*
|
|
11718
|
+
* An example of using node-spellchecker as provider:
|
|
11719
|
+
*/
|
|
11635
11720
|
setSpellCheckProvider(language: string, provider: Provider): void;
|
|
11636
11721
|
/**
|
|
11637
11722
|
* Sets the maximum and minimum pinch-to-zoom level.
|
|
@@ -11751,10 +11836,9 @@ declare namespace Electron {
|
|
|
11751
11836
|
reload(): boolean;
|
|
11752
11837
|
/**
|
|
11753
11838
|
* Send an asynchronous message to the renderer process via `channel`, along with
|
|
11754
|
-
* arguments. Arguments will be serialized with the
|
|
11755
|
-
*
|
|
11756
|
-
*
|
|
11757
|
-
* an exception.
|
|
11839
|
+
* arguments. Arguments will be serialized with the Structured Clone Algorithm,
|
|
11840
|
+
* just like `postMessage`, so prototype chains will not be included. Sending
|
|
11841
|
+
* Functions, Promises, Symbols, WeakMaps, or WeakSets will throw an exception.
|
|
11758
11842
|
*
|
|
11759
11843
|
* The renderer process can handle the message by listening to `channel` with the
|
|
11760
11844
|
* `ipcRenderer` module.
|
|
@@ -12536,9 +12620,6 @@ declare namespace Electron {
|
|
|
12536
12620
|
* When the guest page doesn't have node integration this script will still have
|
|
12537
12621
|
* access to all Node APIs, but global objects injected by Node will be deleted
|
|
12538
12622
|
* after this script has finished executing.
|
|
12539
|
-
*
|
|
12540
|
-
* **Note:** This option will appear as `preloadURL` (not `preload`) in the
|
|
12541
|
-
* `webPreferences` specified to the `will-attach-webview` event.
|
|
12542
12623
|
*/
|
|
12543
12624
|
preload: string;
|
|
12544
12625
|
/**
|
|
@@ -12792,7 +12873,7 @@ declare namespace Electron {
|
|
|
12792
12873
|
*/
|
|
12793
12874
|
useContentSize?: boolean;
|
|
12794
12875
|
/**
|
|
12795
|
-
* Show window in the center of the screen.
|
|
12876
|
+
* Show window in the center of the screen. Default is `false`.
|
|
12796
12877
|
*/
|
|
12797
12878
|
center?: boolean;
|
|
12798
12879
|
/**
|
|
@@ -12862,6 +12943,8 @@ declare namespace Electron {
|
|
|
12862
12943
|
simpleFullscreen?: boolean;
|
|
12863
12944
|
/**
|
|
12864
12945
|
* Whether to show the window in taskbar. Default is `false`.
|
|
12946
|
+
*
|
|
12947
|
+
* @platform darwin,win32
|
|
12865
12948
|
*/
|
|
12866
12949
|
skipTaskbar?: boolean;
|
|
12867
12950
|
/**
|
|
@@ -12922,9 +13005,10 @@ declare namespace Electron {
|
|
|
12922
13005
|
*/
|
|
12923
13006
|
enableLargerThanScreen?: boolean;
|
|
12924
13007
|
/**
|
|
12925
|
-
*
|
|
12926
|
-
*
|
|
12927
|
-
* `true
|
|
13008
|
+
* The window's background color in Hex, RGB, RGBA, HSL, HSLA or named CSS color
|
|
13009
|
+
* format. Alpha in #AARRGGBB format is supported if `transparent` is set to
|
|
13010
|
+
* `true`. Default is `#FFF` (white). See win.setBackgroundColor for more
|
|
13011
|
+
* information.
|
|
12928
13012
|
*/
|
|
12929
13013
|
backgroundColor?: string;
|
|
12930
13014
|
/**
|
|
@@ -15317,6 +15401,27 @@ declare namespace Electron {
|
|
|
15317
15401
|
swapFree: number;
|
|
15318
15402
|
}
|
|
15319
15403
|
|
|
15404
|
+
interface TitleBarOverlayOptions {
|
|
15405
|
+
/**
|
|
15406
|
+
* The CSS color of the Window Controls Overlay when enabled.
|
|
15407
|
+
*
|
|
15408
|
+
* @platform win32
|
|
15409
|
+
*/
|
|
15410
|
+
color?: string;
|
|
15411
|
+
/**
|
|
15412
|
+
* The CSS color of the symbols on the Window Controls Overlay when enabled.
|
|
15413
|
+
*
|
|
15414
|
+
* @platform win32
|
|
15415
|
+
*/
|
|
15416
|
+
symbolColor?: string;
|
|
15417
|
+
/**
|
|
15418
|
+
* The height of the title bar and Window Controls Overlay in pixels.
|
|
15419
|
+
*
|
|
15420
|
+
* @platform win32
|
|
15421
|
+
*/
|
|
15422
|
+
height?: number;
|
|
15423
|
+
}
|
|
15424
|
+
|
|
15320
15425
|
interface TitleOptions {
|
|
15321
15426
|
/**
|
|
15322
15427
|
* The font family variant to display, can be `monospaced` or `monospacedDigit`.
|
|
@@ -16463,6 +16568,7 @@ declare namespace Electron {
|
|
|
16463
16568
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16464
16569
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16465
16570
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
16571
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16466
16572
|
type TitleOptions = Electron.TitleOptions;
|
|
16467
16573
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16468
16574
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -16756,6 +16862,7 @@ declare namespace Electron {
|
|
|
16756
16862
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16757
16863
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16758
16864
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
16865
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16759
16866
|
type TitleOptions = Electron.TitleOptions;
|
|
16760
16867
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16761
16868
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -16986,6 +17093,7 @@ declare namespace Electron {
|
|
|
16986
17093
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
16987
17094
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
16988
17095
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
17096
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
16989
17097
|
type TitleOptions = Electron.TitleOptions;
|
|
16990
17098
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
16991
17099
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
|
@@ -17293,6 +17401,7 @@ declare namespace Electron {
|
|
|
17293
17401
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
17294
17402
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
17295
17403
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
17404
|
+
type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
|
|
17296
17405
|
type TitleOptions = Electron.TitleOptions;
|
|
17297
17406
|
type ToBitmapOptions = Electron.ToBitmapOptions;
|
|
17298
17407
|
type ToDataURLOptions = Electron.ToDataURLOptions;
|
package/package.json
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"postinstall": "node install.js"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@electron/get": "^1.
|
|
12
|
-
"@types/node": "^
|
|
11
|
+
"@electron/get": "^1.14.1",
|
|
12
|
+
"@types/node": "^16.11.26",
|
|
13
13
|
"extract-zip": "^1.0.3"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "
|
|
19
|
+
"version": "19.0.0-alpha.1",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|