electron 39.1.1 → 39.2.0
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/checksums.json +75 -75
- package/electron.d.ts +44 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ For more installation options and troubleshooting tips, see
|
|
|
37
37
|
|
|
38
38
|
Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
39
39
|
|
|
40
|
-
* macOS (
|
|
40
|
+
* macOS (Monterey 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
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
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v39.
|
|
3
|
-
"chromedriver-v39.
|
|
4
|
-
"chromedriver-v39.
|
|
5
|
-
"chromedriver-v39.
|
|
6
|
-
"chromedriver-v39.
|
|
7
|
-
"chromedriver-v39.
|
|
8
|
-
"chromedriver-v39.
|
|
9
|
-
"chromedriver-v39.
|
|
10
|
-
"chromedriver-v39.
|
|
11
|
-
"chromedriver-v39.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v39.
|
|
14
|
-
"electron-v39.
|
|
15
|
-
"electron-v39.
|
|
16
|
-
"electron-v39.
|
|
17
|
-
"electron-v39.
|
|
18
|
-
"electron-v39.
|
|
19
|
-
"electron-v39.
|
|
20
|
-
"electron-v39.
|
|
21
|
-
"electron-v39.
|
|
22
|
-
"electron-v39.
|
|
23
|
-
"electron-v39.
|
|
24
|
-
"electron-v39.
|
|
25
|
-
"electron-v39.
|
|
26
|
-
"electron-v39.
|
|
27
|
-
"electron-v39.
|
|
28
|
-
"electron-v39.
|
|
29
|
-
"electron-v39.
|
|
30
|
-
"electron-v39.
|
|
31
|
-
"electron-v39.
|
|
32
|
-
"electron-v39.
|
|
33
|
-
"electron-v39.
|
|
34
|
-
"electron-v39.
|
|
35
|
-
"electron-v39.
|
|
36
|
-
"electron-v39.
|
|
37
|
-
"electron-v39.
|
|
38
|
-
"electron-v39.
|
|
39
|
-
"electron-v39.
|
|
40
|
-
"electron-v39.
|
|
41
|
-
"electron-v39.
|
|
42
|
-
"electron-v39.
|
|
43
|
-
"electron-v39.
|
|
44
|
-
"electron-v39.
|
|
45
|
-
"electron-v39.
|
|
46
|
-
"electron-v39.
|
|
47
|
-
"electron-v39.
|
|
48
|
-
"electron-v39.
|
|
49
|
-
"electron-v39.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v39.
|
|
52
|
-
"ffmpeg-v39.
|
|
53
|
-
"ffmpeg-v39.
|
|
54
|
-
"ffmpeg-v39.
|
|
55
|
-
"ffmpeg-v39.
|
|
56
|
-
"ffmpeg-v39.
|
|
57
|
-
"ffmpeg-v39.
|
|
58
|
-
"ffmpeg-v39.
|
|
59
|
-
"ffmpeg-v39.
|
|
60
|
-
"ffmpeg-v39.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v39.
|
|
63
|
-
"libcxx-objects-v39.
|
|
64
|
-
"libcxx-objects-v39.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v39.
|
|
68
|
-
"mksnapshot-v39.
|
|
69
|
-
"mksnapshot-v39.
|
|
70
|
-
"mksnapshot-v39.
|
|
71
|
-
"mksnapshot-v39.
|
|
72
|
-
"mksnapshot-v39.
|
|
73
|
-
"mksnapshot-v39.
|
|
74
|
-
"mksnapshot-v39.
|
|
75
|
-
"mksnapshot-v39.
|
|
76
|
-
"mksnapshot-v39.
|
|
2
|
+
"chromedriver-v39.2.0-darwin-arm64.zip": "98c036b4be864a3b6518142bb82ec329651d74bb3d38c6e8693058e8cb0a22f3",
|
|
3
|
+
"chromedriver-v39.2.0-darwin-x64.zip": "daae3a502e68195a30700040d428a4edb9e243d9673dcd10c3f01a5cae0474d5",
|
|
4
|
+
"chromedriver-v39.2.0-linux-arm64.zip": "ee24ebef991438cb8d3be0ec97c06cd63201e7fdbeb85b57b133a0a0fe32519d",
|
|
5
|
+
"chromedriver-v39.2.0-linux-armv7l.zip": "82b4855a5dcc17548da7826fbb6cc2f98cef515ad09aa5c24fad52bb076161cc",
|
|
6
|
+
"chromedriver-v39.2.0-linux-x64.zip": "d11ae58e17f8f3759d67dc03096e979743825a5a4ea793357b550c50c1881b35",
|
|
7
|
+
"chromedriver-v39.2.0-mas-arm64.zip": "a89043dc974a78eb97d53a52fdb0f8263f5ec6b4a2111c83b8bd610188e599e4",
|
|
8
|
+
"chromedriver-v39.2.0-mas-x64.zip": "fc140fc34d596cadfc4d63e15453d9b9c3dfba1e2d5a7e20b488fe3ba681ed56",
|
|
9
|
+
"chromedriver-v39.2.0-win32-arm64.zip": "185c9e3947be5fbacadd11d7e85ef645d28a583f46bafb6320144439bf53b358",
|
|
10
|
+
"chromedriver-v39.2.0-win32-ia32.zip": "f0e3a7eac00b6edd0c341900a43481b9b7a10d6548bfb4900c052e70f6679933",
|
|
11
|
+
"chromedriver-v39.2.0-win32-x64.zip": "81176a1986839f6e74da0884c55a5558ce6a80d0315aade7d219e0491bb6041e",
|
|
12
|
+
"electron-api.json": "24eb9f86f0228f040b8bceacca3ae14ac047ba60770220cd7ad78a3f3c0e1e74",
|
|
13
|
+
"electron-v39.2.0-darwin-arm64-dsym-snapshot.zip": "c924efc3a77f65d42ecb8d37ea8ab86502a6299ca6add57d71ac68173aae5f41",
|
|
14
|
+
"electron-v39.2.0-darwin-arm64-dsym.zip": "c04607d1aab68122a70eb0cdd839efab030ab743f5859d622fe6239cf564ffb5",
|
|
15
|
+
"electron-v39.2.0-darwin-arm64-symbols.zip": "25ca06afc6780e5b875e61591bf9ae7dee6f2b379c68a02bd21ed47dbffae1c5",
|
|
16
|
+
"electron-v39.2.0-darwin-arm64.zip": "3ecbe543ebc728d813ea21f16cedebd6b7af812d716b0ede37f1227179a66c3e",
|
|
17
|
+
"electron-v39.2.0-darwin-x64-dsym-snapshot.zip": "a64b47558d2fd5d1d577573bc907f41217219d867741d98b03ce45f82cdc9c83",
|
|
18
|
+
"electron-v39.2.0-darwin-x64-dsym.zip": "52144710c0b92f7a68776a216ef0740eb71d1ed9d6312ee3a2e6eacfdf0f6a5a",
|
|
19
|
+
"electron-v39.2.0-darwin-x64-symbols.zip": "7ed57186500a1903ad9a9161c22fab9ef9bed9c376a9ead72e92791fa330bff0",
|
|
20
|
+
"electron-v39.2.0-darwin-x64.zip": "721ec50aac1c2c4ce0930b4f14eb4e5b92ce58ac41f965825dc986eb5f511fee",
|
|
21
|
+
"electron-v39.2.0-linux-arm64-debug.zip": "baba1f8d9887e86ba83e2cebb2326dbb0c94d55a390000fd4f4448c3edc22074",
|
|
22
|
+
"electron-v39.2.0-linux-arm64-symbols.zip": "6eaca18ade571625329f6d6b5741a64955ee19c0d630e8e813f916965d757ed3",
|
|
23
|
+
"electron-v39.2.0-linux-arm64.zip": "da7db0ead43e1f560fc1ade4aa50d773d75a5c5339d995f08db49b6fb7267c23",
|
|
24
|
+
"electron-v39.2.0-linux-armv7l-debug.zip": "eb316428a148086ecec75a5d1341aa593c136cc8b23b8ad0446436cb6dbe0394",
|
|
25
|
+
"electron-v39.2.0-linux-armv7l-symbols.zip": "05b078c16197695911570b283fe3555471cfd2c6e916e12de1c30d953642e8a9",
|
|
26
|
+
"electron-v39.2.0-linux-armv7l.zip": "87fc8b6903559deab6c2aada4e03dddba06a0071b10ecdc6a116da0baaeb639d",
|
|
27
|
+
"electron-v39.2.0-linux-x64-debug.zip": "c2946adbaf2fc68830e4302913807381e766f6a330575d55b9c477ec92bf2055",
|
|
28
|
+
"electron-v39.2.0-linux-x64-symbols.zip": "f177419295697784b6a039436f21b6ef7fce67c3fefb2d56412fafef37165996",
|
|
29
|
+
"electron-v39.2.0-linux-x64.zip": "c1f2f123dee6896ff09e4b3e504dfbfe42356c0e6b41b33fd849aa19fd50253d",
|
|
30
|
+
"electron-v39.2.0-mas-arm64-dsym-snapshot.zip": "604636912f87eb17c15cad19ad9c7db790d666099c499c2389b1ec99b8e7d80b",
|
|
31
|
+
"electron-v39.2.0-mas-arm64-dsym.zip": "135ed03bf04e7b4e85a654faaabcb62c08222a3d2f70c3b5e779d3ef7ab124f9",
|
|
32
|
+
"electron-v39.2.0-mas-arm64-symbols.zip": "06187fc2d1e686ca70cdec425dcf77f4854928bde4a4ea5007970a82ee676775",
|
|
33
|
+
"electron-v39.2.0-mas-arm64.zip": "e94e87364182d85fb11c1d146101260349d3472f87441d1972e68aac3c7976b7",
|
|
34
|
+
"electron-v39.2.0-mas-x64-dsym-snapshot.zip": "cebfb2dfa2244b40a95fa99ce5d54ec26ef5ab290e54451c5bcb502e2ea07c71",
|
|
35
|
+
"electron-v39.2.0-mas-x64-dsym.zip": "f7b9694b9fbe3143f653eb8fafc682612cac3f67d998716d41607530723d7b13",
|
|
36
|
+
"electron-v39.2.0-mas-x64-symbols.zip": "095daa622f621b73698ff6a047d415100b9d5d30c27265004545a5f2ec7b252f",
|
|
37
|
+
"electron-v39.2.0-mas-x64.zip": "db7b84377c16e12e8d92f732bee72ed742fa4b3d3c01730f1628509e3f1094cb",
|
|
38
|
+
"electron-v39.2.0-win32-arm64-pdb.zip": "7619f7f4c045903f553f1e4f173264dd9eef43c82f0de09daaa63fd0f57003f8",
|
|
39
|
+
"electron-v39.2.0-win32-arm64-symbols.zip": "e9f73eaaec76e4f585f7210de85bfbb5a4b8e0890f7cec1f5c1a7344cb160cd8",
|
|
40
|
+
"electron-v39.2.0-win32-arm64-toolchain-profile.zip": "4aae37230f86b1590f102aa038268299bfb55ce2bf3b76ac4d6159e7b6a69f8e",
|
|
41
|
+
"electron-v39.2.0-win32-arm64.zip": "d95bc39add0b7040f3cb03a357362dc7472bc86f405e4a0feae3641694537ef1",
|
|
42
|
+
"electron-v39.2.0-win32-ia32-pdb.zip": "d94e041143d494b3f98cb7356412d7f4fe4dd527b78aa52010b7898bb02d57ea",
|
|
43
|
+
"electron-v39.2.0-win32-ia32-symbols.zip": "d34c31ec4ffad0aadcc7f04c2fbe0620a603900831733fc575b901cae07678d9",
|
|
44
|
+
"electron-v39.2.0-win32-ia32-toolchain-profile.zip": "4aae37230f86b1590f102aa038268299bfb55ce2bf3b76ac4d6159e7b6a69f8e",
|
|
45
|
+
"electron-v39.2.0-win32-ia32.zip": "ec26e39186d03e21a16067652083db2bbf41d31900a5d6e38f2bbdf9f99f7e5f",
|
|
46
|
+
"electron-v39.2.0-win32-x64-pdb.zip": "da4d65231e774ecdfb058d96f29f08daeccfd3f9cdf021c432d18695bed90cb7",
|
|
47
|
+
"electron-v39.2.0-win32-x64-symbols.zip": "a5677f8211b2dea4ed0f93bb2fa3370a84fa328c7474c34b07b4f9a011a0b666",
|
|
48
|
+
"electron-v39.2.0-win32-x64-toolchain-profile.zip": "4aae37230f86b1590f102aa038268299bfb55ce2bf3b76ac4d6159e7b6a69f8e",
|
|
49
|
+
"electron-v39.2.0-win32-x64.zip": "8d483a77100dda798af0becdda1a037e4079ad9ec1e49d768bfb671f95122ce2",
|
|
50
|
+
"electron.d.ts": "ca520c194f5908145653e47c39524b8bfc1e50d076799612667de39ad2ae338d",
|
|
51
|
+
"ffmpeg-v39.2.0-darwin-arm64.zip": "59a4fdf1a2b9032adb02c09a663761749a5f42d812dd9ae1e05cf13cafa2d829",
|
|
52
|
+
"ffmpeg-v39.2.0-darwin-x64.zip": "ff7709b1b3f94931439b21e506adfffdfc2a9e5cea5cd59fab5658f9285546d6",
|
|
53
|
+
"ffmpeg-v39.2.0-linux-arm64.zip": "2b83422b70e47c03f3b12a5f77547c434adce65b5a06375faa89701523c972a2",
|
|
54
|
+
"ffmpeg-v39.2.0-linux-armv7l.zip": "13eaed8fbb76fde55044261ff50931597e425a3366bd1a8ae7ab1f03e20fda6d",
|
|
55
|
+
"ffmpeg-v39.2.0-linux-x64.zip": "9b6271eaf27800b9061c3a4049c4e5097f62b33cb4718cf6bb6e75e80cc0460d",
|
|
56
|
+
"ffmpeg-v39.2.0-mas-arm64.zip": "59a4fdf1a2b9032adb02c09a663761749a5f42d812dd9ae1e05cf13cafa2d829",
|
|
57
|
+
"ffmpeg-v39.2.0-mas-x64.zip": "ff7709b1b3f94931439b21e506adfffdfc2a9e5cea5cd59fab5658f9285546d6",
|
|
58
|
+
"ffmpeg-v39.2.0-win32-arm64.zip": "dedfc2f532c4ae480e59fd607b705d36cc4100d4df1a15e9c14e123a7a49f12f",
|
|
59
|
+
"ffmpeg-v39.2.0-win32-ia32.zip": "46239f051df5430ef7965644165145d27f6d91b405f13825d78394dd74d1e9dc",
|
|
60
|
+
"ffmpeg-v39.2.0-win32-x64.zip": "a5d81da6ddfd4c80914938ee3c7de8d237b2ac2c89fab242cb3ff6dc425023a3",
|
|
61
|
+
"hunspell_dictionaries.zip": "81e834aed3ff0932b02199594c8547ed06f7792beb4c20ebf3acccb92043f2d2",
|
|
62
|
+
"libcxx-objects-v39.2.0-linux-arm64.zip": "8474e9f9ecdf93ccca0abbc3eaeb0e86fad1aae666e2404e8140a01d32fffd2c",
|
|
63
|
+
"libcxx-objects-v39.2.0-linux-armv7l.zip": "2c6ae26ed989ca4d03f30e5a544189a38c0c1e71f0e32d37fda7e8436bfc7efe",
|
|
64
|
+
"libcxx-objects-v39.2.0-linux-x64.zip": "7802c21d9801a74b74d1e381164e3f54cadccc114945ec162066be3fd62c7251",
|
|
65
|
+
"libcxx_headers.zip": "5478f7921f76f8d9fb1d21b5d802cbc77d7898e97e98e60173be5ddc11218edc",
|
|
66
|
+
"libcxxabi_headers.zip": "e990e7b60ecdba8d984b47ed4340f124789d07dde989cced71521b3428da47d9",
|
|
67
|
+
"mksnapshot-v39.2.0-darwin-arm64.zip": "db4818d702a160cf6708726544b25ccaae1faacae73dca435472c0307235da62",
|
|
68
|
+
"mksnapshot-v39.2.0-darwin-x64.zip": "e48a88334f81940c30ba8246be19538f909c18d25834a5c15d05dfc418dd61be",
|
|
69
|
+
"mksnapshot-v39.2.0-linux-arm64-x64.zip": "4e5cfd17d60dac583dd18219cd9a84fe504de7c975abdac2b35bf8f60de9e4dd",
|
|
70
|
+
"mksnapshot-v39.2.0-linux-armv7l-x64.zip": "be0c4caec2bc02e3bfb8172a7799ae6fe55822b49bcfc8ac939c5933dc5dce3a",
|
|
71
|
+
"mksnapshot-v39.2.0-linux-x64.zip": "b56d77d467227973438bd3c5c7018494facb1b44a19ccc3ec9057f6f087e1c0d",
|
|
72
|
+
"mksnapshot-v39.2.0-mas-arm64.zip": "c05e95f7004571f15f615314b12a06e084b76fe0cf92ef0ad633d0d78b4f29a9",
|
|
73
|
+
"mksnapshot-v39.2.0-mas-x64.zip": "bfa8780e04ef29e310c3eab0980325ccf09d709514af9ca7ef070fc74585135a",
|
|
74
|
+
"mksnapshot-v39.2.0-win32-arm64-x64.zip": "bfb2e5562666c438c06bfd8606053e7abf39988bc79ced280fba99071338119a",
|
|
75
|
+
"mksnapshot-v39.2.0-win32-ia32.zip": "cf7e36d42ea75b84f49fb543b3bb9783cee81da9442e080c52bf0b5e68e06ea1",
|
|
76
|
+
"mksnapshot-v39.2.0-win32-x64.zip": "fdc79d3a05389122afc684a0bacf266fca7e54544c8889f3aed105b90ba9b1d8"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 39.
|
|
1
|
+
// Type definitions for Electron 39.2.0
|
|
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
|
|
@@ -1371,6 +1371,13 @@ declare namespace Electron {
|
|
|
1371
1371
|
* whether or not the current OS version allows for native emoji pickers.
|
|
1372
1372
|
*/
|
|
1373
1373
|
isEmojiPanelSupported(): boolean;
|
|
1374
|
+
/**
|
|
1375
|
+
* whether hardware acceleration is currently enabled.
|
|
1376
|
+
*
|
|
1377
|
+
* > [!NOTE] This information is only usable after the `gpu-info-update` event is
|
|
1378
|
+
* emitted.
|
|
1379
|
+
*/
|
|
1380
|
+
isHardwareAccelerationEnabled(): boolean;
|
|
1374
1381
|
/**
|
|
1375
1382
|
* `true` if the application—including all of its windows—is hidden (e.g. with
|
|
1376
1383
|
* `Command-H`), `false` otherwise.
|
|
@@ -3005,18 +3012,22 @@ declare namespace Electron {
|
|
|
3005
3012
|
*
|
|
3006
3013
|
* The `accentColor` parameter accepts the following values:
|
|
3007
3014
|
*
|
|
3008
|
-
* * **Color string** -
|
|
3009
|
-
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
3010
|
-
* are ignored and the color is treated as fully opaque.
|
|
3011
|
-
* * **`true`** -
|
|
3015
|
+
* * **Color string** - Like `true`, but sets a custom accent color using standard
|
|
3016
|
+
* CSS color formats (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
3017
|
+
* RGBA/HSLA formats are ignored and the color is treated as fully opaque.
|
|
3018
|
+
* * **`true`** - Enable accent color highlighting for the window with the system
|
|
3019
|
+
* accent color regardless of whether accent colors are enabled for windows in
|
|
3020
|
+
* System `Settings.`
|
|
3021
|
+
* * **`false`** - Disable accent color highlighting for the window regardless of
|
|
3022
|
+
* whether accent colors are currently enabled for windows in System Settings.
|
|
3023
|
+
* * **`null`** - Reset window accent color behavior to follow behavior set in
|
|
3012
3024
|
* System Settings.
|
|
3013
|
-
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
3014
3025
|
*
|
|
3015
3026
|
* Examples:
|
|
3016
3027
|
*
|
|
3017
3028
|
* @platform win32
|
|
3018
3029
|
*/
|
|
3019
|
-
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
3030
|
+
setAccentColor(accentColor: (boolean) | (string) | (null)): void;
|
|
3020
3031
|
/**
|
|
3021
3032
|
* Sets whether the window should show always on top of other windows. After
|
|
3022
3033
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -5748,18 +5759,22 @@ declare namespace Electron {
|
|
|
5748
5759
|
*
|
|
5749
5760
|
* The `accentColor` parameter accepts the following values:
|
|
5750
5761
|
*
|
|
5751
|
-
* * **Color string** -
|
|
5752
|
-
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
5753
|
-
* are ignored and the color is treated as fully opaque.
|
|
5754
|
-
* * **`true`** -
|
|
5762
|
+
* * **Color string** - Like `true`, but sets a custom accent color using standard
|
|
5763
|
+
* CSS color formats (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
|
|
5764
|
+
* RGBA/HSLA formats are ignored and the color is treated as fully opaque.
|
|
5765
|
+
* * **`true`** - Enable accent color highlighting for the window with the system
|
|
5766
|
+
* accent color regardless of whether accent colors are enabled for windows in
|
|
5767
|
+
* System `Settings.`
|
|
5768
|
+
* * **`false`** - Disable accent color highlighting for the window regardless of
|
|
5769
|
+
* whether accent colors are currently enabled for windows in System Settings.
|
|
5770
|
+
* * **`null`** - Reset window accent color behavior to follow behavior set in
|
|
5755
5771
|
* System Settings.
|
|
5756
|
-
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
5757
5772
|
*
|
|
5758
5773
|
* Examples:
|
|
5759
5774
|
*
|
|
5760
5775
|
* @platform win32
|
|
5761
5776
|
*/
|
|
5762
|
-
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
5777
|
+
setAccentColor(accentColor: (boolean) | (string) | (null)): void;
|
|
5763
5778
|
/**
|
|
5764
5779
|
* Sets whether the window should show always on top of other windows. After
|
|
5765
5780
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -9583,8 +9598,8 @@ declare namespace Electron {
|
|
|
9583
9598
|
static createFromDataURL(dataURL: string): NativeImage;
|
|
9584
9599
|
/**
|
|
9585
9600
|
* Creates a new `NativeImage` instance from the `NSImage` that maps to the given
|
|
9586
|
-
* image name. See Apple's `NSImageName` documentation for a list of
|
|
9587
|
-
* values.
|
|
9601
|
+
* image name. See Apple's `NSImageName` documentation and SF Symbols for a list of
|
|
9602
|
+
* possible values.
|
|
9588
9603
|
*
|
|
9589
9604
|
* The `hslShift` is applied to the image with the following rules:
|
|
9590
9605
|
*
|
|
@@ -9608,6 +9623,10 @@ declare namespace Electron {
|
|
|
9608
9623
|
*
|
|
9609
9624
|
* where `SYSTEM_IMAGE_NAME` should be replaced with any value from this list.
|
|
9610
9625
|
*
|
|
9626
|
+
* For SF Symbols, usage looks as follows:
|
|
9627
|
+
*
|
|
9628
|
+
* where `'square.and.pencil'` is the symbol name from the SF Symbols app.
|
|
9629
|
+
*
|
|
9611
9630
|
* @platform darwin
|
|
9612
9631
|
*/
|
|
9613
9632
|
static createFromNamedImage(imageName: string, hslShift?: number[]): NativeImage;
|
|
@@ -19724,6 +19743,13 @@ declare namespace Electron {
|
|
|
19724
19743
|
* `session` is explicitly specified, `partition` is ignored.
|
|
19725
19744
|
*/
|
|
19726
19745
|
partition?: string;
|
|
19746
|
+
/**
|
|
19747
|
+
* When set to `true`, custom protocol handlers registered for the request's URL
|
|
19748
|
+
* scheme will not be called. This allows forwarding an intercepted request to the
|
|
19749
|
+
* built-in handler. webRequest handlers will still be triggered when bypassing
|
|
19750
|
+
* custom protocols. Defaults to `false`.
|
|
19751
|
+
*/
|
|
19752
|
+
bypassCustomProtocolHandlers?: boolean;
|
|
19727
19753
|
/**
|
|
19728
19754
|
* Can be `include`, `omit` or `same-origin`. Whether to send credentials with this
|
|
19729
19755
|
* request. If set to `include`, credentials from the session associated with the
|
|
@@ -21085,6 +21111,9 @@ declare namespace Electron {
|
|
|
21085
21111
|
* An Accelerator string.
|
|
21086
21112
|
*/
|
|
21087
21113
|
accelerator?: string;
|
|
21114
|
+
/**
|
|
21115
|
+
* Can be a NativeImage or the file path of an icon.
|
|
21116
|
+
*/
|
|
21088
21117
|
icon?: (NativeImage) | (string);
|
|
21089
21118
|
/**
|
|
21090
21119
|
* If false, the menu item will be greyed out and unclickable.
|
package/package.json
CHANGED