electron 39.0.0 → 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/abi_version +1 -1
- package/checksums.json +75 -75
- package/cli.js +4 -1
- package/electron.d.ts +34 -14
- package/package.json +1 -1
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
|
|
@@ -5737,18 +5748,22 @@ declare namespace Electron {
|
|
|
5737
5748
|
*
|
|
5738
5749
|
* The `accentColor` parameter accepts the following values:
|
|
5739
5750
|
*
|
|
5740
|
-
* * **Color string** -
|
|
5741
|
-
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
5742
|
-
* are ignored and the color is treated as fully opaque.
|
|
5743
|
-
* * **`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
|
|
5744
5760
|
* System Settings.
|
|
5745
|
-
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
5746
5761
|
*
|
|
5747
5762
|
* Examples:
|
|
5748
5763
|
*
|
|
5749
5764
|
* @platform win32
|
|
5750
5765
|
*/
|
|
5751
|
-
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
5766
|
+
setAccentColor(accentColor: (boolean) | (string) | (null)): void;
|
|
5752
5767
|
/**
|
|
5753
5768
|
* Sets whether the window should show always on top of other windows. After
|
|
5754
5769
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -11862,7 +11877,8 @@ declare namespace Electron {
|
|
|
11862
11877
|
*/
|
|
11863
11878
|
static fromPath(path: string, options?: FromPathOptions): Session;
|
|
11864
11879
|
/**
|
|
11865
|
-
* 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.
|
|
11866
11882
|
*/
|
|
11867
11883
|
static defaultSession: Session;
|
|
11868
11884
|
/**
|
|
@@ -24707,6 +24723,8 @@ declare namespace Electron {
|
|
|
24707
24723
|
type IncomingMessage = Electron.IncomingMessage;
|
|
24708
24724
|
const net: Net;
|
|
24709
24725
|
type Net = Electron.Net;
|
|
24726
|
+
const parentPort: ParentPort;
|
|
24727
|
+
type ParentPort = Electron.ParentPort;
|
|
24710
24728
|
const systemPreferences: SystemPreferences;
|
|
24711
24729
|
type SystemPreferences = Electron.SystemPreferences;
|
|
24712
24730
|
type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
|
|
@@ -25064,6 +25082,8 @@ declare namespace Electron {
|
|
|
25064
25082
|
const netLog: NetLog;
|
|
25065
25083
|
type NetLog = Electron.NetLog;
|
|
25066
25084
|
class Notification extends Electron.Notification {}
|
|
25085
|
+
const parentPort: ParentPort;
|
|
25086
|
+
type ParentPort = Electron.ParentPort;
|
|
25067
25087
|
const powerMonitor: PowerMonitor;
|
|
25068
25088
|
type PowerMonitor = Electron.PowerMonitor;
|
|
25069
25089
|
const powerSaveBlocker: PowerSaveBlocker;
|
package/package.json
CHANGED