electron 39.0.0-beta.5 → 39.1.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 +39 -8
- 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/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.1.0-darwin-arm64.zip": "f664314728ce8ad13c17200ca555a787781af3ce5f38bfd7fd36206acae59834",
|
|
3
|
+
"chromedriver-v39.1.0-darwin-x64.zip": "1cca40940f47ba3cd71c11547464a574fd9d72d4227a7920fccba56d5eab5938",
|
|
4
|
+
"chromedriver-v39.1.0-linux-arm64.zip": "c0e6879dc8276da71fd26009fea331e9c44da02ccd1692a8dc8b92d21419c69b",
|
|
5
|
+
"chromedriver-v39.1.0-linux-armv7l.zip": "7428c251577e250789f1b237d2f914b00d519a937f24b245d71e5207ac131cf3",
|
|
6
|
+
"chromedriver-v39.1.0-linux-x64.zip": "6378096723891a2753eb821d655878bf48c62fc66bb2b9d472d2d93878678a1b",
|
|
7
|
+
"chromedriver-v39.1.0-mas-arm64.zip": "4c83050d504b1d19d312e7bbe0802087f6583456fa2bd85bafc5f2928a3142b3",
|
|
8
|
+
"chromedriver-v39.1.0-mas-x64.zip": "790247a189b68a3d1a1278247baefe5d729783c18041c513596dd2a7757db79d",
|
|
9
|
+
"chromedriver-v39.1.0-win32-arm64.zip": "17be9c6fff3ee0a062790d1557e5b1af8411aaa44c0f9655e7eca5accf400995",
|
|
10
|
+
"chromedriver-v39.1.0-win32-ia32.zip": "bec5bf2eb27dd025c593081812fee8b6d1f53f1265cde57c9824f2f12e20fcdf",
|
|
11
|
+
"chromedriver-v39.1.0-win32-x64.zip": "327ae9e52ac49111e0b30503b901158e821835dbaaae19b8139c9f95bd192a5a",
|
|
12
|
+
"electron-api.json": "7763b5a8c8934f6b63dcda49eea7ead3a55d09ef75bfdeca314fe10fc92a97e9",
|
|
13
|
+
"electron-v39.1.0-darwin-arm64-dsym-snapshot.zip": "31d2d558af202eba4b1192c4067198f4e4b68b890506d8e66e30b1a584e67d63",
|
|
14
|
+
"electron-v39.1.0-darwin-arm64-dsym.zip": "d324d7372ce88e22156a2c468d97adea251dcad48285940a79748804fa66c7e0",
|
|
15
|
+
"electron-v39.1.0-darwin-arm64-symbols.zip": "e8344cf1de5881a3c362bef8a0924a54e6ec06a7ad547ac8c6d49a69384bec7e",
|
|
16
|
+
"electron-v39.1.0-darwin-arm64.zip": "ba8a4e452d6ef9f0a0d722c8bc64ba08b2e7901a95cefef5d59a40f8942e30f0",
|
|
17
|
+
"electron-v39.1.0-darwin-x64-dsym-snapshot.zip": "db65caa23059592e21581d7f4350b0d7b409d0a94bd96a8e0f989e4e9b71390e",
|
|
18
|
+
"electron-v39.1.0-darwin-x64-dsym.zip": "2cafab46c3a50934a3a7944a7ef8b4faf9e17c9b36f2d3e20169b240036156e2",
|
|
19
|
+
"electron-v39.1.0-darwin-x64-symbols.zip": "f0bf93c484120f2869e36a46c9639ff17ce2b4570eaff673aa00e9364a312b2b",
|
|
20
|
+
"electron-v39.1.0-darwin-x64.zip": "88a856b27e39eefa6738cccbcec08ab4c43066747f25f2ce11a6fcae9f6d5685",
|
|
21
|
+
"electron-v39.1.0-linux-arm64-debug.zip": "c1a3f0668c110e8712c83476cf21f1d8d8b62dc55a323065c1abb00e02e14fbf",
|
|
22
|
+
"electron-v39.1.0-linux-arm64-symbols.zip": "d6eb24c865a15cc0d00a713377aa4caabc5d4ce6e85c766ef76ce7f67fd0cda2",
|
|
23
|
+
"electron-v39.1.0-linux-arm64.zip": "27cadff54f045569e5b9e5c918d953b1752d60d184856a56666cc96375526afe",
|
|
24
|
+
"electron-v39.1.0-linux-armv7l-debug.zip": "a754af48322d87bb94c49da47b4f25edb0e8463e58deac4996035f6cb33b1185",
|
|
25
|
+
"electron-v39.1.0-linux-armv7l-symbols.zip": "478b1887a3f1b094b94e88926139ecffb888e027ba229150b587a99845d8c42c",
|
|
26
|
+
"electron-v39.1.0-linux-armv7l.zip": "1a7e12f3f6218a1d00683414561b5851ce375ffede9fd1928836c35afb16306a",
|
|
27
|
+
"electron-v39.1.0-linux-x64-debug.zip": "d27e194843d3f060c3e8f1717ee0107b151e97f9a0f89bb78273cd08df42d3a2",
|
|
28
|
+
"electron-v39.1.0-linux-x64-symbols.zip": "e8c388d1f642db170e17563ec02020860ad70e294058a53dc86cdd7efc2c0305",
|
|
29
|
+
"electron-v39.1.0-linux-x64.zip": "edf82591d285f6d6581a270ebe28b86c55b91c44e1b0922c50afb0680cc3da23",
|
|
30
|
+
"electron-v39.1.0-mas-arm64-dsym-snapshot.zip": "732b34d888eeb7ba7b60001772e471a41e1d72ae32042d6b9b024ac65cf03b76",
|
|
31
|
+
"electron-v39.1.0-mas-arm64-dsym.zip": "1193fa0f18e7d36bfe5e37f1ae001d86b78c82436b27d14a59c3d7a5115a0b97",
|
|
32
|
+
"electron-v39.1.0-mas-arm64-symbols.zip": "55867f88b95ab18f2f3abec37368c516527500e0b04a0c145babf53147e51fb0",
|
|
33
|
+
"electron-v39.1.0-mas-arm64.zip": "25411c23fd22014a62c94184cd9ad756490476b28831ff1edefc4ee79c4074b7",
|
|
34
|
+
"electron-v39.1.0-mas-x64-dsym-snapshot.zip": "00af545b1955edaf47ca0920ad57f14b78ad90a1c5977b712b5060630fcefe41",
|
|
35
|
+
"electron-v39.1.0-mas-x64-dsym.zip": "a179a83a2e510dcc9a3ee3ac4488eee457641aace95a1599330e053de18fffbb",
|
|
36
|
+
"electron-v39.1.0-mas-x64-symbols.zip": "c34495ce1ffda85cad9559afe1c06d9e160ac2f5c226029ec1d05a042e66e8ec",
|
|
37
|
+
"electron-v39.1.0-mas-x64.zip": "1389c4da46f27b10c8fc63a0f15ff329bc46183b7f67b07a994ccb5df9682e5b",
|
|
38
|
+
"electron-v39.1.0-win32-arm64-pdb.zip": "5c21ceb872f9e2cbffaaa5d6e813c1368d51ddaa2206bb14f091b596943f6fbe",
|
|
39
|
+
"electron-v39.1.0-win32-arm64-symbols.zip": "589e9191bb2026c32c83eb8c21cd84149ddeb52f34999495946f22488b2b47d1",
|
|
40
|
+
"electron-v39.1.0-win32-arm64-toolchain-profile.zip": "380197ab051157f280de98e3f0d67e269bcddaff85035bcca26adfff7b7caf58",
|
|
41
|
+
"electron-v39.1.0-win32-arm64.zip": "7a5042e03646d168ac0443aa1e8b067c61e78c26825a34b5ea289839e3211bb5",
|
|
42
|
+
"electron-v39.1.0-win32-ia32-pdb.zip": "e684dd26cd235e4040abe4671b025f767149d9b12fc8a5351aa9ee2e246a1f8a",
|
|
43
|
+
"electron-v39.1.0-win32-ia32-symbols.zip": "1a0255fa45506b8396114a2ea6ef57b3b7f746e7561b07eaec65e13df9446e51",
|
|
44
|
+
"electron-v39.1.0-win32-ia32-toolchain-profile.zip": "380197ab051157f280de98e3f0d67e269bcddaff85035bcca26adfff7b7caf58",
|
|
45
|
+
"electron-v39.1.0-win32-ia32.zip": "9a3ca1b42a1378a1552b2aafc3743531c4aa019173d0c07894447dd03250cb9d",
|
|
46
|
+
"electron-v39.1.0-win32-x64-pdb.zip": "e2bdcf923155e230a122e3c489be0296f0ce48752dc6f9086babe599f5245486",
|
|
47
|
+
"electron-v39.1.0-win32-x64-symbols.zip": "5bcdefb4bf3f5789d395ad03e2db27cce52d866ffba6025c0055812cf42b1f2b",
|
|
48
|
+
"electron-v39.1.0-win32-x64-toolchain-profile.zip": "380197ab051157f280de98e3f0d67e269bcddaff85035bcca26adfff7b7caf58",
|
|
49
|
+
"electron-v39.1.0-win32-x64.zip": "1548e683164967d21a75e393d13669377e5bea5e05c08c98fabba4053d09cfaa",
|
|
50
|
+
"electron.d.ts": "84187b1240c7913f879307997d3d72077a0549c7a1b008aa34c9ad7bc3423d8a",
|
|
51
|
+
"ffmpeg-v39.1.0-darwin-arm64.zip": "34530091cbdbcf4532a1fba9fa5a5757d1f5099236890e1ffc228f1c6e6e4a4f",
|
|
52
|
+
"ffmpeg-v39.1.0-darwin-x64.zip": "6b6073f2f78c70ad5ff67c985f8ee6343f7e6bf00691d82098d90731134ed2d8",
|
|
53
|
+
"ffmpeg-v39.1.0-linux-arm64.zip": "2b83422b70e47c03f3b12a5f77547c434adce65b5a06375faa89701523c972a2",
|
|
54
|
+
"ffmpeg-v39.1.0-linux-armv7l.zip": "58de20c7bd0100bdd28b3571eab5fac3a0a16e0838623c1631dbef993c4a33c9",
|
|
55
|
+
"ffmpeg-v39.1.0-linux-x64.zip": "e30257a5264fec16d8021b03248ad66074465f8a27b8e33fbdbbd090fceb59cc",
|
|
56
|
+
"ffmpeg-v39.1.0-mas-arm64.zip": "34530091cbdbcf4532a1fba9fa5a5757d1f5099236890e1ffc228f1c6e6e4a4f",
|
|
57
|
+
"ffmpeg-v39.1.0-mas-x64.zip": "6b6073f2f78c70ad5ff67c985f8ee6343f7e6bf00691d82098d90731134ed2d8",
|
|
58
|
+
"ffmpeg-v39.1.0-win32-arm64.zip": "7b6487741701d1c706151f2d5705e985b8ae99be38a7a92236df68fdc5323123",
|
|
59
|
+
"ffmpeg-v39.1.0-win32-ia32.zip": "46b3199ed55cf7dc137460d60efae45912488e849b34b699fd54b42cf72768f5",
|
|
60
|
+
"ffmpeg-v39.1.0-win32-x64.zip": "8b43093663f3e4ac4a3e3bbdad5daa0fa02170c783d36c606ffcf59cbd065c0d",
|
|
61
|
+
"hunspell_dictionaries.zip": "29e91c1c546998402e25f156d5c336a482b1b78fbf82b25d6dd448b2e5fa362e",
|
|
62
|
+
"libcxx-objects-v39.1.0-linux-arm64.zip": "7ee1a48c014bde47b750968bf7b615fd2ad353591e73abeefab53b6d3d57173d",
|
|
63
|
+
"libcxx-objects-v39.1.0-linux-armv7l.zip": "ce1610727599df4af9c0d4065d6bba194e221cd7e45daf6c6ef9266e36084004",
|
|
64
|
+
"libcxx-objects-v39.1.0-linux-x64.zip": "01e2b9a8d6f5ae9034244a3b2e0abd03968c3fa92e89e865f4c64674918144f1",
|
|
65
|
+
"libcxx_headers.zip": "3a1f230bbb7fb5f6030a580bf13a22f0a7aaa8c1fafa9f848c5a2ebda41083f4",
|
|
66
|
+
"libcxxabi_headers.zip": "c98cce0091681bc367a48f66c5f4602961aa9cb6dd1a995d8969d6b39ce732f3",
|
|
67
|
+
"mksnapshot-v39.1.0-darwin-arm64.zip": "20bda86e1bbf426367503abe5b5e1b7e1e33df75839db1bc3eaca385ad62d15d",
|
|
68
|
+
"mksnapshot-v39.1.0-darwin-x64.zip": "1f2e64a4524ca26d11e67cbf7714fadb28c86dbec691a42c8aad7d27ed0a519c",
|
|
69
|
+
"mksnapshot-v39.1.0-linux-arm64-x64.zip": "f69cadc1697a0822dc275bec5a33f39af6be47c5585b9ee5a7e411079bdd203c",
|
|
70
|
+
"mksnapshot-v39.1.0-linux-armv7l-x64.zip": "258115f745195a82110ec6d052bde9344c2e32bdb76d87d96f5bf328c9650dc0",
|
|
71
|
+
"mksnapshot-v39.1.0-linux-x64.zip": "9183334379cf44614714ca2b02d053e755242365c0ad0f3b90caa8d7c07d0bd7",
|
|
72
|
+
"mksnapshot-v39.1.0-mas-arm64.zip": "e71c64c222358ded107efe52162c6ecca0cf367bb075b83f4146d029a4941010",
|
|
73
|
+
"mksnapshot-v39.1.0-mas-x64.zip": "e027a44463e00c16ba639e363f9cffac4c8bcb2bf2f91d8584a1dfddb8a4707e",
|
|
74
|
+
"mksnapshot-v39.1.0-win32-arm64-x64.zip": "a0a9738b847fa20111757d6ffbc628759e7708d4b69ad256e1d81aaf033a91e0",
|
|
75
|
+
"mksnapshot-v39.1.0-win32-ia32.zip": "ed171f8a46dab17545ef9b868548004dd330f0c2dabf4c0cec5d2bb2f1ae71f7",
|
|
76
|
+
"mksnapshot-v39.1.0-win32-x64.zip": "0b02d98c25ffc468853d58c7a6d0d9da897d35d5a7948ca9e25ff9ae2f143973"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 39.
|
|
1
|
+
// Type definitions for Electron 39.1.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
|
|
@@ -1042,8 +1042,10 @@ declare namespace Electron {
|
|
|
1042
1042
|
*/
|
|
1043
1043
|
exit(exitCode?: number): void;
|
|
1044
1044
|
/**
|
|
1045
|
-
* On
|
|
1046
|
-
*
|
|
1045
|
+
* On macOS, makes the application the active app. On Windows, focuses on the
|
|
1046
|
+
* application's first window. On Linux, either focuses on the first visible window
|
|
1047
|
+
* (X11) or requests focus but may instead show a notification or flash the app
|
|
1048
|
+
* icon (Wayland).
|
|
1047
1049
|
*
|
|
1048
1050
|
* You should seek to use the `steal` option as sparingly as possible.
|
|
1049
1051
|
*/
|
|
@@ -3845,9 +3847,12 @@ declare namespace Electron {
|
|
|
3845
3847
|
*/
|
|
3846
3848
|
tabbingIdentifier?: string;
|
|
3847
3849
|
/**
|
|
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
|
|
3850
|
+
* Use `WS_THICKFRAME` style for frameless windows on Windows, which adds the
|
|
3851
|
+
* standard window frame. Setting it to `false` will remove window shadow and
|
|
3852
|
+
* window animations, and disable window resizing via dragging the window edges.
|
|
3853
|
+
* Default is `true`.
|
|
3854
|
+
*
|
|
3855
|
+
* @platform win32
|
|
3851
3856
|
*/
|
|
3852
3857
|
thickFrame?: boolean;
|
|
3853
3858
|
/**
|
|
@@ -5253,6 +5258,8 @@ declare namespace Electron {
|
|
|
5253
5258
|
addTabbedWindow(browserWindow: BrowserWindow): void;
|
|
5254
5259
|
/**
|
|
5255
5260
|
* Removes focus from the window.
|
|
5261
|
+
*
|
|
5262
|
+
* Not supported on Wayland (Linux).
|
|
5256
5263
|
*/
|
|
5257
5264
|
blur(): void;
|
|
5258
5265
|
blurWebView(): void;
|
|
@@ -5268,6 +5275,8 @@ declare namespace Electron {
|
|
|
5268
5275
|
capturePage(rect?: Rectangle, opts?: Opts): Promise<Electron.NativeImage>;
|
|
5269
5276
|
/**
|
|
5270
5277
|
* Moves window to the center of the screen.
|
|
5278
|
+
*
|
|
5279
|
+
* Not supported on Wayland (Linux).
|
|
5271
5280
|
*/
|
|
5272
5281
|
center(): void;
|
|
5273
5282
|
/**
|
|
@@ -5294,6 +5303,9 @@ declare namespace Electron {
|
|
|
5294
5303
|
flashFrame(flag: boolean): void;
|
|
5295
5304
|
/**
|
|
5296
5305
|
* Focuses on the window.
|
|
5306
|
+
*
|
|
5307
|
+
* On Wayland (Linux), the desktop environment may show a notification or flash the
|
|
5308
|
+
* app icon if the window or app is not already focused.
|
|
5297
5309
|
*/
|
|
5298
5310
|
focus(): void;
|
|
5299
5311
|
focusOnWebView(): void;
|
|
@@ -5684,7 +5696,9 @@ declare namespace Electron {
|
|
|
5684
5696
|
*/
|
|
5685
5697
|
moveTabToNewWindow(): void;
|
|
5686
5698
|
/**
|
|
5687
|
-
* Moves window to top(z-order) regardless of focus
|
|
5699
|
+
* Moves window to top(z-order) regardless of focus.
|
|
5700
|
+
*
|
|
5701
|
+
* Not supported on Wayland (Linux).
|
|
5688
5702
|
*/
|
|
5689
5703
|
moveTop(): void;
|
|
5690
5704
|
/**
|
|
@@ -5842,6 +5856,8 @@ declare namespace Electron {
|
|
|
5842
5856
|
* Resizes and moves the window to the supplied bounds. Any properties that are not
|
|
5843
5857
|
* supplied will default to their current values.
|
|
5844
5858
|
*
|
|
5859
|
+
* On Wayland (Linux), has the same limitations as `setSize` and `setPosition`.
|
|
5860
|
+
*
|
|
5845
5861
|
* > [!NOTE] On macOS, the y-coordinate value cannot be smaller than the Tray
|
|
5846
5862
|
* height. The tray height has changed over time and depends on the operating
|
|
5847
5863
|
* system, but is between 20-40px. Passing a value lower than the tray height will
|
|
@@ -5865,6 +5881,9 @@ declare namespace Electron {
|
|
|
5865
5881
|
/**
|
|
5866
5882
|
* Resizes and moves the window's client area (e.g. the web page) to the supplied
|
|
5867
5883
|
* bounds.
|
|
5884
|
+
*
|
|
5885
|
+
* On Wayland (Linux), has the same limitations as `setContentSize` and
|
|
5886
|
+
* `setPosition`.
|
|
5868
5887
|
*/
|
|
5869
5888
|
setContentBounds(bounds: Rectangle, animate?: boolean): void;
|
|
5870
5889
|
/**
|
|
@@ -5885,6 +5904,9 @@ declare namespace Electron {
|
|
|
5885
5904
|
setContentProtection(enable: boolean): void;
|
|
5886
5905
|
/**
|
|
5887
5906
|
* Resizes the window's client area (e.g. the web page) to `width` and `height`.
|
|
5907
|
+
*
|
|
5908
|
+
* On Wayland (Linux), may not work as some window managers restrict programmatic
|
|
5909
|
+
* window resizing.
|
|
5888
5910
|
*/
|
|
5889
5911
|
setContentSize(width: number, height: number, animate?: boolean): void;
|
|
5890
5912
|
/**
|
|
@@ -6009,6 +6031,8 @@ declare namespace Electron {
|
|
|
6009
6031
|
setParentWindow(parent: (BrowserWindow) | (null)): void;
|
|
6010
6032
|
/**
|
|
6011
6033
|
* Moves window to `x` and `y`.
|
|
6034
|
+
*
|
|
6035
|
+
* Not supported on Wayland (Linux).
|
|
6012
6036
|
*/
|
|
6013
6037
|
setPosition(x: number, y: number, animate?: boolean): void;
|
|
6014
6038
|
/**
|
|
@@ -6068,6 +6092,9 @@ declare namespace Electron {
|
|
|
6068
6092
|
/**
|
|
6069
6093
|
* Resizes the window to `width` and `height`. If `width` or `height` are below any
|
|
6070
6094
|
* set minimum size constraints the window will snap to its minimum size.
|
|
6095
|
+
*
|
|
6096
|
+
* On Wayland (Linux), may not work as some window managers restrict programmatic
|
|
6097
|
+
* window resizing.
|
|
6071
6098
|
*/
|
|
6072
6099
|
setSize(width: number, height: number, animate?: boolean): void;
|
|
6073
6100
|
/**
|
|
@@ -6213,6 +6240,8 @@ declare namespace Electron {
|
|
|
6213
6240
|
showDefinitionForSelection(): void;
|
|
6214
6241
|
/**
|
|
6215
6242
|
* Shows the window but doesn't focus on it.
|
|
6243
|
+
*
|
|
6244
|
+
* Not supported on Wayland (Linux).
|
|
6216
6245
|
*/
|
|
6217
6246
|
showInactive(): void;
|
|
6218
6247
|
/**
|
|
@@ -18444,7 +18473,9 @@ declare namespace Electron {
|
|
|
18444
18473
|
* If set, this will sandbox the renderer associated with the window, making it
|
|
18445
18474
|
* compatible with the Chromium OS-level sandbox and disabling the Node.js engine.
|
|
18446
18475
|
* This is not the same as the `nodeIntegration` option and the APIs available to
|
|
18447
|
-
* the preload script are more limited.
|
|
18476
|
+
* the preload script are more limited. Default is `true` since Electron 20. The
|
|
18477
|
+
* sandbox will automatically be disabled when `nodeIntegration` is set to `true`.
|
|
18478
|
+
* Read more about the option here.
|
|
18448
18479
|
*/
|
|
18449
18480
|
sandbox?: boolean;
|
|
18450
18481
|
/**
|
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