electron 39.0.0-beta.5 → 40.0.0-alpha.2
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 +1 -1
- package/abi_version +1 -1
- package/checksums.json +75 -75
- package/cli.js +4 -1
- package/electron.d.ts +43 -18
- package/install.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
|
39
39
|
|
|
40
40
|
* macOS (Big Sur and up): Electron provides 64-bit Intel and Apple Silicon / ARM binaries for macOS.
|
|
41
41
|
* 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).
|
|
42
|
-
* Linux: The prebuilt binaries of Electron are built on Ubuntu
|
|
42
|
+
* Linux: The prebuilt binaries of Electron are built on Ubuntu 22.04. They have also been verified to work on:
|
|
43
43
|
* Ubuntu 18.04 and newer
|
|
44
44
|
* Fedora 32 and newer
|
|
45
45
|
* Debian 10 and newer
|
package/abi_version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
143
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-
|
|
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.d.ts": "
|
|
51
|
-
"ffmpeg-
|
|
52
|
-
"ffmpeg-
|
|
53
|
-
"ffmpeg-
|
|
54
|
-
"ffmpeg-
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-
|
|
68
|
-
"mksnapshot-
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v40.0.0-alpha.2-darwin-arm64.zip": "ea2c094f698c51712aad8c261162a9344265df9b56c2c50c9f288544376170d5",
|
|
3
|
+
"chromedriver-v40.0.0-alpha.2-darwin-x64.zip": "00e7d681128547edc9d014fdb01ea5fd0d083993fb701f1dee49eabe87703a45",
|
|
4
|
+
"chromedriver-v40.0.0-alpha.2-linux-arm64.zip": "5acb088838d3728226e261d2d32dc82c0bec2e16b974b64145b6560173ea8a24",
|
|
5
|
+
"chromedriver-v40.0.0-alpha.2-linux-armv7l.zip": "2a5e9c4136d9ab1ce69615758145e556d9c0fda41e6c709ac7295a5bddb2fc82",
|
|
6
|
+
"chromedriver-v40.0.0-alpha.2-linux-x64.zip": "e9243a0904b09abbc6a87d16de2773772db717f4056b4f68238b6f42a48721a3",
|
|
7
|
+
"chromedriver-v40.0.0-alpha.2-mas-arm64.zip": "e97e276e86c3f0960bfe6c29bfb219e04eb8578cb2a5df7a1c1707753c41c158",
|
|
8
|
+
"chromedriver-v40.0.0-alpha.2-mas-x64.zip": "201534de52e06dfc06b72a0eee51cbce91a78fe10428fc5f841e95de242d9caa",
|
|
9
|
+
"chromedriver-v40.0.0-alpha.2-win32-arm64.zip": "8f73b9200b7ce76cd6216d72a3ee761900c5b3418fd3693f5116ae2a040da331",
|
|
10
|
+
"chromedriver-v40.0.0-alpha.2-win32-ia32.zip": "363c7d03b5126d1fec9e3dca28b93e235780a8e60bacf6b4e768f2479492f05e",
|
|
11
|
+
"chromedriver-v40.0.0-alpha.2-win32-x64.zip": "5b119f7ddf06ed14252e67372c24343a8329cd04758ca7e9740cd458d3c9e39e",
|
|
12
|
+
"electron-api.json": "79cfe111601ff6dbea15b996c716728411e2232236385ca40dd8ecf216cf82e5",
|
|
13
|
+
"electron-v40.0.0-alpha.2-darwin-arm64-dsym-snapshot.zip": "326d0c5c05c461d9ba494cdeededa8d5410489a5f2f5ef344740e8f2150468d5",
|
|
14
|
+
"electron-v40.0.0-alpha.2-darwin-arm64-dsym.zip": "2985700c7bedebdffa51273b5ae2898e5d68ed941c7ef24de4df60927f745c48",
|
|
15
|
+
"electron-v40.0.0-alpha.2-darwin-arm64-symbols.zip": "8bcbdfd0aa583641792f904bf2816c89543ef5df9fc68e47f9f989547affcef6",
|
|
16
|
+
"electron-v40.0.0-alpha.2-darwin-arm64.zip": "262f0c655e09c80c609bafce496e96f1f1ce2f49d075e864be24564649bf54e2",
|
|
17
|
+
"electron-v40.0.0-alpha.2-darwin-x64-dsym-snapshot.zip": "2ccb49d8c70822eed9e49ff13a6f46b281059a6e7b4653443cb8720ba07db1df",
|
|
18
|
+
"electron-v40.0.0-alpha.2-darwin-x64-dsym.zip": "5725e57aa5429bab20d72d9df2ba621244a3ef7a0d8e94f9d83466baeb3eb08b",
|
|
19
|
+
"electron-v40.0.0-alpha.2-darwin-x64-symbols.zip": "a03a6ab9ff3be76ba0c87d795365f43f3f469bceacd70e1deac591837b2bc94a",
|
|
20
|
+
"electron-v40.0.0-alpha.2-darwin-x64.zip": "69e7f170398ebd7f24e3af74c36f1ae97548aa2a4c9bad166b588f63a214ac84",
|
|
21
|
+
"electron-v40.0.0-alpha.2-linux-arm64-debug.zip": "791fedc6b317189968317d26f36792e65944ac6098e5875f98770802da98955c",
|
|
22
|
+
"electron-v40.0.0-alpha.2-linux-arm64-symbols.zip": "9b0834feba9b1c79089a6e38cfe7f8b947f57ba117b3fba90786450f0d8227ef",
|
|
23
|
+
"electron-v40.0.0-alpha.2-linux-arm64.zip": "e6f17acf4f9f45fccb876e80cf8559820d10cc342b3139ed5d5d0f19a3de438a",
|
|
24
|
+
"electron-v40.0.0-alpha.2-linux-armv7l-debug.zip": "c208d89ef1f8d6e2231654c2d7529137951be402cbbf17c92ebb1fc76c940d7d",
|
|
25
|
+
"electron-v40.0.0-alpha.2-linux-armv7l-symbols.zip": "5b7c1daad35ba495c1b1d9361af2a8cc7c6436eeac4e6c6f8c83b1b992dc6217",
|
|
26
|
+
"electron-v40.0.0-alpha.2-linux-armv7l.zip": "6314c9924618a9df1dfcfbb1bbf31c4c66467b7cb1f88058c53de67ad901e287",
|
|
27
|
+
"electron-v40.0.0-alpha.2-linux-x64-debug.zip": "3a0167262b380a8e4cf77abe0815215f4608f8978eb0939f97153712c37d26fe",
|
|
28
|
+
"electron-v40.0.0-alpha.2-linux-x64-symbols.zip": "824b5bfc107a81a4ba789a5e1556be4b243c1eb525458923703ba907518cc1c0",
|
|
29
|
+
"electron-v40.0.0-alpha.2-linux-x64.zip": "368f9407c4c25c3edd2fa14863da0ffb27b3760d31c62f5689634f9b44e887d6",
|
|
30
|
+
"electron-v40.0.0-alpha.2-mas-arm64-dsym-snapshot.zip": "d63dbb51cb717f1bb32324650302dcd7bead505cfcb45e1f4004e259b4602d42",
|
|
31
|
+
"electron-v40.0.0-alpha.2-mas-arm64-dsym.zip": "577162b7f946afaf330f23c8351fca07df9d4331aa00be9d8933338248d7349f",
|
|
32
|
+
"electron-v40.0.0-alpha.2-mas-arm64-symbols.zip": "194dbf6f9eeab701c7879ae5bda63e124aee6dfcf945c6af4c5600dec2bd86a1",
|
|
33
|
+
"electron-v40.0.0-alpha.2-mas-arm64.zip": "38fc53f85632cccd737fbf4f1c30ed8054e253eec87456a7544e170b8b83c55e",
|
|
34
|
+
"electron-v40.0.0-alpha.2-mas-x64-dsym-snapshot.zip": "7cf6ae2d025515c8bc70d1e977a886bdca24874e91e42b4224fcfff2a16cd753",
|
|
35
|
+
"electron-v40.0.0-alpha.2-mas-x64-dsym.zip": "5c882efb053ebeb6ad1634a8e6917a16c1bcd7147c07da5ac07a9b20227be2c2",
|
|
36
|
+
"electron-v40.0.0-alpha.2-mas-x64-symbols.zip": "78a89aac8a346f70e0db5ca73a857733545b27379e44c848fe765b938d003158",
|
|
37
|
+
"electron-v40.0.0-alpha.2-mas-x64.zip": "53288c1f91950d946c210b60594436b18c63f5e77ae7a453a25cdb569de60b96",
|
|
38
|
+
"electron-v40.0.0-alpha.2-win32-arm64-pdb.zip": "294c354b9dc8732c9d57b2fb672da44cd1b239859d1cb8b87db55d0e482f5728",
|
|
39
|
+
"electron-v40.0.0-alpha.2-win32-arm64-symbols.zip": "3c89e41ef71690f9625332c835ec2f97167d37ffc94c1b9c7fc81f81246f6334",
|
|
40
|
+
"electron-v40.0.0-alpha.2-win32-arm64-toolchain-profile.zip": "380197ab051157f280de98e3f0d67e269bcddaff85035bcca26adfff7b7caf58",
|
|
41
|
+
"electron-v40.0.0-alpha.2-win32-arm64.zip": "8d41cdfc6d3bca3995a4414b6f6e8ef8f81664e7edc39d1f06945375986d68ba",
|
|
42
|
+
"electron-v40.0.0-alpha.2-win32-ia32-pdb.zip": "1df819f56890c61d09b647dfada09d8459631534d3be8bca39b14b125dfedccd",
|
|
43
|
+
"electron-v40.0.0-alpha.2-win32-ia32-symbols.zip": "f0971365b62c955b038c824ab348cdac7081d42011986cb7d010aa3273c1619c",
|
|
44
|
+
"electron-v40.0.0-alpha.2-win32-ia32-toolchain-profile.zip": "380197ab051157f280de98e3f0d67e269bcddaff85035bcca26adfff7b7caf58",
|
|
45
|
+
"electron-v40.0.0-alpha.2-win32-ia32.zip": "36ad43ea39ec41e2386b37a177977e1c671464b26eba9c403aad3ead7ad29fd5",
|
|
46
|
+
"electron-v40.0.0-alpha.2-win32-x64-pdb.zip": "d1b67bf17cba4961b7861acb6206b08dabfa9aa65c227af2e6075daeafe90054",
|
|
47
|
+
"electron-v40.0.0-alpha.2-win32-x64-symbols.zip": "ced705764062d2429aa153bd305b1015cb681c4ab17534f785ac348e611676a4",
|
|
48
|
+
"electron-v40.0.0-alpha.2-win32-x64-toolchain-profile.zip": "380197ab051157f280de98e3f0d67e269bcddaff85035bcca26adfff7b7caf58",
|
|
49
|
+
"electron-v40.0.0-alpha.2-win32-x64.zip": "163d70294fed955108d2d61ac4c0032c8e536009a7fcb5cc259b1f5c98980068",
|
|
50
|
+
"electron.d.ts": "262c3196a200ea450c839989df84792fec7453ed396f57e3a5a687f216dfaca3",
|
|
51
|
+
"ffmpeg-v40.0.0-alpha.2-darwin-arm64.zip": "57a51c770e66c6ef6c4b7c369124af8396a980e96e50508fe9fa06f83c7ed486",
|
|
52
|
+
"ffmpeg-v40.0.0-alpha.2-darwin-x64.zip": "ade02bacd744842d13e959a827f421c38c16c016962b8f57d2ecdd8a958c69db",
|
|
53
|
+
"ffmpeg-v40.0.0-alpha.2-linux-arm64.zip": "964962a94bd4ba6e3b6f22a20e11629edf646bcbe05c057678b58cb687678552",
|
|
54
|
+
"ffmpeg-v40.0.0-alpha.2-linux-armv7l.zip": "a5f7047c033555c20dcb0ec6074e2ebec31c2419aac8ef942d14323b6af9e4ff",
|
|
55
|
+
"ffmpeg-v40.0.0-alpha.2-linux-x64.zip": "d9226e09b84f4736de03e7e8472f046a81cb78d983eb6adca32395735e67a1ed",
|
|
56
|
+
"ffmpeg-v40.0.0-alpha.2-mas-arm64.zip": "57a51c770e66c6ef6c4b7c369124af8396a980e96e50508fe9fa06f83c7ed486",
|
|
57
|
+
"ffmpeg-v40.0.0-alpha.2-mas-x64.zip": "ade02bacd744842d13e959a827f421c38c16c016962b8f57d2ecdd8a958c69db",
|
|
58
|
+
"ffmpeg-v40.0.0-alpha.2-win32-arm64.zip": "ed6e8c3cf5b33a0a70eef513738a300b5807f9f75217023b2992dd4ebb8dc350",
|
|
59
|
+
"ffmpeg-v40.0.0-alpha.2-win32-ia32.zip": "fddf8abc49a86b15908911134a7a36eaecc58bf140a1d019413eabdfba58316f",
|
|
60
|
+
"ffmpeg-v40.0.0-alpha.2-win32-x64.zip": "632bc4dbccb916c0be65974b1ef37b88a1b4adde9390c0270f46c190789ec737",
|
|
61
|
+
"hunspell_dictionaries.zip": "cbd12908a07b546159d46e5d6c0d07a21f47b2620450fd6d9ee3b6cbdcdfc565",
|
|
62
|
+
"libcxx-objects-v40.0.0-alpha.2-linux-arm64.zip": "7f59aa65ed4d1575247ab46105943b57d63b53a5ad075407d8b0a87c35ab06c7",
|
|
63
|
+
"libcxx-objects-v40.0.0-alpha.2-linux-armv7l.zip": "014304a627cff038571ae13bbcc00e086fc9e8d5e200e8d52b4f8c4d0eb34d43",
|
|
64
|
+
"libcxx-objects-v40.0.0-alpha.2-linux-x64.zip": "634e8254bd3c037a88110f3206c03721854fc43b7e9f06d21b54e377cb0ad073",
|
|
65
|
+
"libcxx_headers.zip": "c939efd8b49cf2b6285a9306739fc0f7bc0325e8014f579c2b50b402fd7832f5",
|
|
66
|
+
"libcxxabi_headers.zip": "2a11056e1d0b280d578cde03cdf5105caaeffca45dcc1fb42c63fb5420f3907e",
|
|
67
|
+
"mksnapshot-v40.0.0-alpha.2-darwin-arm64.zip": "e89a03114c9c294e2da2173054d5845ef1f013e951c0e47ecb4068675bd24c7d",
|
|
68
|
+
"mksnapshot-v40.0.0-alpha.2-darwin-x64.zip": "ceb4ca4f7d2c6c49cc07b731132bebb367fc232e69e86696177573a1ed75676e",
|
|
69
|
+
"mksnapshot-v40.0.0-alpha.2-linux-arm64-x64.zip": "6b375fde40fec49cdaff8e39e90558e625435771011edb991b50cf2c357dc50f",
|
|
70
|
+
"mksnapshot-v40.0.0-alpha.2-linux-armv7l-x64.zip": "c6aa5533936e9fc8a58ab1295317248acbfdb82ee177c574ab782a74df6df4e6",
|
|
71
|
+
"mksnapshot-v40.0.0-alpha.2-linux-x64.zip": "5ac4a741aba765faef486090cf7ad5d677627b50d17c3ab533265102546d0aee",
|
|
72
|
+
"mksnapshot-v40.0.0-alpha.2-mas-arm64.zip": "52a09ddbf9cf0e70ba65c274d4977e388dd5394685fc1a3aa5ddcdcb1cd5eb71",
|
|
73
|
+
"mksnapshot-v40.0.0-alpha.2-mas-x64.zip": "929ac40597a6c9f0364895f69d6f389749f985769911dde80ceec0f71b0f3ee5",
|
|
74
|
+
"mksnapshot-v40.0.0-alpha.2-win32-arm64-x64.zip": "b27b63ce34f90e485e1fd72bd596e5edd98beb27c12d23cfd39f13028deadde4",
|
|
75
|
+
"mksnapshot-v40.0.0-alpha.2-win32-ia32.zip": "bd07e27a1d0df8a6e3061cecdf222fed9e4174179d7668f2d9dd4e2252d78cb0",
|
|
76
|
+
"mksnapshot-v40.0.0-alpha.2-win32-x64.zip": "47d48063211480134a1692edc1edfd36dea5fe1181ca08a7060c036321948088"
|
|
77
77
|
}
|
package/cli.js
CHANGED
|
@@ -5,7 +5,9 @@ const proc = require('child_process');
|
|
|
5
5
|
const electron = require('./');
|
|
6
6
|
|
|
7
7
|
const child = proc.spawn(electron, process.argv.slice(2), { stdio: 'inherit', windowsHide: false });
|
|
8
|
+
let childClosed = false;
|
|
8
9
|
child.on('close', function (code, signal) {
|
|
10
|
+
childClosed = true;
|
|
9
11
|
if (code === null) {
|
|
10
12
|
console.error(electron, 'exited with signal', signal);
|
|
11
13
|
process.exit(1);
|
|
@@ -15,7 +17,7 @@ child.on('close', function (code, signal) {
|
|
|
15
17
|
|
|
16
18
|
const handleTerminationSignal = function (signal) {
|
|
17
19
|
process.on(signal, function signalHandler () {
|
|
18
|
-
if (!
|
|
20
|
+
if (!childClosed) {
|
|
19
21
|
child.kill(signal);
|
|
20
22
|
}
|
|
21
23
|
});
|
|
@@ -23,3 +25,4 @@ const handleTerminationSignal = function (signal) {
|
|
|
23
25
|
|
|
24
26
|
handleTerminationSignal('SIGINT');
|
|
25
27
|
handleTerminationSignal('SIGTERM');
|
|
28
|
+
handleTerminationSignal('SIGUSR2');
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 40.0.0-alpha.2
|
|
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/typescript-definitions
|
|
@@ -1369,6 +1369,13 @@ declare namespace Electron {
|
|
|
1369
1369
|
* whether or not the current OS version allows for native emoji pickers.
|
|
1370
1370
|
*/
|
|
1371
1371
|
isEmojiPanelSupported(): boolean;
|
|
1372
|
+
/**
|
|
1373
|
+
* whether hardware acceleration is currently disabled.
|
|
1374
|
+
*
|
|
1375
|
+
* > [!NOTE] This information is only usable after the `gpu-info-update` event is
|
|
1376
|
+
* emitted.
|
|
1377
|
+
*/
|
|
1378
|
+
isHardwareAccelerationEnabled(): boolean;
|
|
1372
1379
|
/**
|
|
1373
1380
|
* `true` if the application—including all of its windows—is hidden (e.g. with
|
|
1374
1381
|
* `Command-H`), `false` otherwise.
|
|
@@ -3003,18 +3010,22 @@ declare namespace Electron {
|
|
|
3003
3010
|
*
|
|
3004
3011
|
* The `accentColor` parameter accepts the following values:
|
|
3005
3012
|
*
|
|
3006
|
-
* * **Color string** -
|
|
3007
|
-
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
3008
|
-
* are ignored and the color is treated as fully opaque.
|
|
3009
|
-
* * **`true`** -
|
|
3013
|
+
* * **Color string** - Like `true`, but sets a custom accent color using standard
|
|
3014
|
+
* CSS color formats (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
3015
|
+
* RGBA/HSLA formats are ignored and the color is treated as fully opaque.
|
|
3016
|
+
* * **`true`** - Enable accent color highlighting for the window with the system
|
|
3017
|
+
* accent color regardless of whether accent colors are enabled for windows in
|
|
3018
|
+
* System `Settings.`
|
|
3019
|
+
* * **`false`** - Disable accent color highlighting for the window regardless of
|
|
3020
|
+
* whether accent colors are currently enabled for windows in System Settings.
|
|
3021
|
+
* * **`null`** - Reset window accent color behavior to follow behavior set in
|
|
3010
3022
|
* System Settings.
|
|
3011
|
-
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
3012
3023
|
*
|
|
3013
3024
|
* Examples:
|
|
3014
3025
|
*
|
|
3015
3026
|
* @platform win32
|
|
3016
3027
|
*/
|
|
3017
|
-
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
3028
|
+
setAccentColor(accentColor: (boolean) | (string) | (null)): void;
|
|
3018
3029
|
/**
|
|
3019
3030
|
* Sets whether the window should show always on top of other windows. After
|
|
3020
3031
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -3845,9 +3856,12 @@ declare namespace Electron {
|
|
|
3845
3856
|
*/
|
|
3846
3857
|
tabbingIdentifier?: string;
|
|
3847
3858
|
/**
|
|
3848
|
-
* Use `WS_THICKFRAME` style for frameless windows on Windows, which adds
|
|
3849
|
-
* window frame. Setting it to `false` will remove window shadow and
|
|
3850
|
-
* animations
|
|
3859
|
+
* Use `WS_THICKFRAME` style for frameless windows on Windows, which adds the
|
|
3860
|
+
* standard window frame. Setting it to `false` will remove window shadow and
|
|
3861
|
+
* window animations, and disable window resizing via dragging the window edges.
|
|
3862
|
+
* Default is `true`.
|
|
3863
|
+
*
|
|
3864
|
+
* @platform win32
|
|
3851
3865
|
*/
|
|
3852
3866
|
thickFrame?: boolean;
|
|
3853
3867
|
/**
|
|
@@ -5734,18 +5748,22 @@ declare namespace Electron {
|
|
|
5734
5748
|
*
|
|
5735
5749
|
* The `accentColor` parameter accepts the following values:
|
|
5736
5750
|
*
|
|
5737
|
-
* * **Color string** -
|
|
5738
|
-
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
5739
|
-
* are ignored and the color is treated as fully opaque.
|
|
5740
|
-
* * **`true`** -
|
|
5751
|
+
* * **Color string** - Like `true`, but sets a custom accent color using standard
|
|
5752
|
+
* CSS color formats (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
5753
|
+
* RGBA/HSLA formats are ignored and the color is treated as fully opaque.
|
|
5754
|
+
* * **`true`** - Enable accent color highlighting for the window with the system
|
|
5755
|
+
* accent color regardless of whether accent colors are enabled for windows in
|
|
5756
|
+
* System `Settings.`
|
|
5757
|
+
* * **`false`** - Disable accent color highlighting for the window regardless of
|
|
5758
|
+
* whether accent colors are currently enabled for windows in System Settings.
|
|
5759
|
+
* * **`null`** - Reset window accent color behavior to follow behavior set in
|
|
5741
5760
|
* System Settings.
|
|
5742
|
-
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
5743
5761
|
*
|
|
5744
5762
|
* Examples:
|
|
5745
5763
|
*
|
|
5746
5764
|
* @platform win32
|
|
5747
5765
|
*/
|
|
5748
|
-
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
5766
|
+
setAccentColor(accentColor: (boolean) | (string) | (null)): void;
|
|
5749
5767
|
/**
|
|
5750
5768
|
* Sets whether the window should show always on top of other windows. After
|
|
5751
5769
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -11859,7 +11877,8 @@ declare namespace Electron {
|
|
|
11859
11877
|
*/
|
|
11860
11878
|
static fromPath(path: string, options?: FromPathOptions): Session;
|
|
11861
11879
|
/**
|
|
11862
|
-
* A `Session` object, the default session object of the app
|
|
11880
|
+
* A `Session` object, the default session object of the app, available after
|
|
11881
|
+
* `app.whenReady` is called.
|
|
11863
11882
|
*/
|
|
11864
11883
|
static defaultSession: Session;
|
|
11865
11884
|
/**
|
|
@@ -18444,7 +18463,9 @@ declare namespace Electron {
|
|
|
18444
18463
|
* If set, this will sandbox the renderer associated with the window, making it
|
|
18445
18464
|
* compatible with the Chromium OS-level sandbox and disabling the Node.js engine.
|
|
18446
18465
|
* This is not the same as the `nodeIntegration` option and the APIs available to
|
|
18447
|
-
* the preload script are more limited.
|
|
18466
|
+
* the preload script are more limited. Default is `true` since Electron 20. The
|
|
18467
|
+
* sandbox will automatically be disabled when `nodeIntegration` is set to `true`.
|
|
18468
|
+
* Read more about the option here.
|
|
18448
18469
|
*/
|
|
18449
18470
|
sandbox?: boolean;
|
|
18450
18471
|
/**
|
|
@@ -24702,6 +24723,8 @@ declare namespace Electron {
|
|
|
24702
24723
|
type IncomingMessage = Electron.IncomingMessage;
|
|
24703
24724
|
const net: Net;
|
|
24704
24725
|
type Net = Electron.Net;
|
|
24726
|
+
const parentPort: ParentPort;
|
|
24727
|
+
type ParentPort = Electron.ParentPort;
|
|
24705
24728
|
const systemPreferences: SystemPreferences;
|
|
24706
24729
|
type SystemPreferences = Electron.SystemPreferences;
|
|
24707
24730
|
type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
|
|
@@ -25059,6 +25082,8 @@ declare namespace Electron {
|
|
|
25059
25082
|
const netLog: NetLog;
|
|
25060
25083
|
type NetLog = Electron.NetLog;
|
|
25061
25084
|
class Notification extends Electron.Notification {}
|
|
25085
|
+
const parentPort: ParentPort;
|
|
25086
|
+
type ParentPort = Electron.ParentPort;
|
|
25062
25087
|
const powerMonitor: PowerMonitor;
|
|
25063
25088
|
type PowerMonitor = Electron.PowerMonitor;
|
|
25064
25089
|
const powerSaveBlocker: PowerSaveBlocker;
|
package/install.js
CHANGED
|
@@ -44,7 +44,7 @@ downloadArtifact({
|
|
|
44
44
|
artifactName: 'electron',
|
|
45
45
|
force: process.env.force_no_cache === 'true',
|
|
46
46
|
cacheRoot: process.env.electron_config_cache,
|
|
47
|
-
checksums: process.env.electron_use_remote_checksums
|
|
47
|
+
checksums: (process.env.electron_use_remote_checksums || process.env.npm_config_electron_use_remote_checksums) ? undefined : require('./checksums.json'),
|
|
48
48
|
platform,
|
|
49
49
|
arch
|
|
50
50
|
}).then(extractFile).catch(err => {
|
package/package.json
CHANGED