electron 44.0.0-beta.3 → 44.0.0-beta.5
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/checksums.json +61 -61
- package/electron.d.ts +57 -28
- package/install.js +6 -2
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v44.0.0-beta.
|
|
3
|
-
"chromedriver-v44.0.0-beta.
|
|
4
|
-
"chromedriver-v44.0.0-beta.
|
|
5
|
-
"chromedriver-v44.0.0-beta.
|
|
6
|
-
"chromedriver-v44.0.0-beta.
|
|
7
|
-
"chromedriver-v44.0.0-beta.
|
|
8
|
-
"chromedriver-v44.0.0-beta.
|
|
9
|
-
"chromedriver-v44.0.0-beta.
|
|
10
|
-
"electron-api.json": "
|
|
11
|
-
"electron-v44.0.0-beta.
|
|
12
|
-
"electron-v44.0.0-beta.
|
|
13
|
-
"electron-v44.0.0-beta.
|
|
14
|
-
"electron-v44.0.0-beta.
|
|
15
|
-
"electron-v44.0.0-beta.
|
|
16
|
-
"electron-v44.0.0-beta.
|
|
17
|
-
"electron-v44.0.0-beta.
|
|
18
|
-
"electron-v44.0.0-beta.
|
|
19
|
-
"electron-v44.0.0-beta.
|
|
20
|
-
"electron-v44.0.0-beta.
|
|
21
|
-
"electron-v44.0.0-beta.
|
|
22
|
-
"electron-v44.0.0-beta.
|
|
23
|
-
"electron-v44.0.0-beta.
|
|
24
|
-
"electron-v44.0.0-beta.
|
|
25
|
-
"electron-v44.0.0-beta.
|
|
26
|
-
"electron-v44.0.0-beta.
|
|
27
|
-
"electron-v44.0.0-beta.
|
|
28
|
-
"electron-v44.0.0-beta.
|
|
29
|
-
"electron-v44.0.0-beta.
|
|
30
|
-
"electron-v44.0.0-beta.
|
|
31
|
-
"electron-v44.0.0-beta.
|
|
32
|
-
"electron-v44.0.0-beta.
|
|
33
|
-
"electron-v44.0.0-beta.
|
|
34
|
-
"electron-v44.0.0-beta.
|
|
35
|
-
"electron-v44.0.0-beta.
|
|
36
|
-
"electron-v44.0.0-beta.
|
|
37
|
-
"electron-v44.0.0-beta.
|
|
38
|
-
"electron-v44.0.0-beta.
|
|
39
|
-
"electron-v44.0.0-beta.
|
|
40
|
-
"electron-v44.0.0-beta.
|
|
41
|
-
"electron.d.ts": "
|
|
42
|
-
"ffmpeg-v44.0.0-beta.
|
|
43
|
-
"ffmpeg-v44.0.0-beta.
|
|
44
|
-
"ffmpeg-v44.0.0-beta.
|
|
45
|
-
"ffmpeg-v44.0.0-beta.
|
|
46
|
-
"ffmpeg-v44.0.0-beta.
|
|
47
|
-
"ffmpeg-v44.0.0-beta.
|
|
48
|
-
"ffmpeg-v44.0.0-beta.
|
|
49
|
-
"ffmpeg-v44.0.0-beta.
|
|
50
|
-
"hunspell_dictionaries.zip": "
|
|
51
|
-
"libcxx-objects-v44.0.0-beta.
|
|
52
|
-
"libcxx-objects-v44.0.0-beta.
|
|
53
|
-
"libcxx_headers.zip": "
|
|
54
|
-
"libcxxabi_headers.zip": "
|
|
55
|
-
"mksnapshot-v44.0.0-beta.
|
|
56
|
-
"mksnapshot-v44.0.0-beta.
|
|
57
|
-
"mksnapshot-v44.0.0-beta.
|
|
58
|
-
"mksnapshot-v44.0.0-beta.
|
|
59
|
-
"mksnapshot-v44.0.0-beta.
|
|
60
|
-
"mksnapshot-v44.0.0-beta.
|
|
61
|
-
"mksnapshot-v44.0.0-beta.
|
|
62
|
-
"mksnapshot-v44.0.0-beta.
|
|
2
|
+
"chromedriver-v44.0.0-beta.5-darwin-arm64.zip": "79cc947ee8896f83b1c293e88fb0422cc3ddb9db2826ca3d9330b183e87852f3",
|
|
3
|
+
"chromedriver-v44.0.0-beta.5-darwin-x64.zip": "c889f3f6fe03a93281b17bc74a160b875110bb6f51ccc1c108f0af889dad2019",
|
|
4
|
+
"chromedriver-v44.0.0-beta.5-linux-arm64.zip": "180ed9c45d8f19ee0685c61891ef984abf626c06ea543553ea38b67cd0e41836",
|
|
5
|
+
"chromedriver-v44.0.0-beta.5-linux-x64.zip": "8d9b2f08f82776901872d1921399ae33368461a9caea93f8bc93bed8b08d272b",
|
|
6
|
+
"chromedriver-v44.0.0-beta.5-mas-arm64.zip": "762b6d6daee307f4753cf4f5dd05a99fcfa103aa1d2310ba8caf2459d1f57abc",
|
|
7
|
+
"chromedriver-v44.0.0-beta.5-mas-x64.zip": "c879870c66cbfc6cb2cec3db6fb36eeac37c40a70193c33bfa5dc8ce40630f65",
|
|
8
|
+
"chromedriver-v44.0.0-beta.5-win32-arm64.zip": "c51c722a39960e29d61e42da488cb28ef4c926fd22716a3019b8fd6519580c5c",
|
|
9
|
+
"chromedriver-v44.0.0-beta.5-win32-x64.zip": "290c8eebcdb1dd46a98ac0aefd67b642bbafbd75305a851b5515c9981eddf871",
|
|
10
|
+
"electron-api.json": "19d5dd1f42ffdfa5cb762ecc6c5300e8943d2856cee9dd76d1ebc3ef5a73b6f4",
|
|
11
|
+
"electron-v44.0.0-beta.5-darwin-arm64-dsym-snapshot.zip": "63b8c8fe9ba738f6a01d3d9868272c6e454ba6b4012bb74d74791cde13270caf",
|
|
12
|
+
"electron-v44.0.0-beta.5-darwin-arm64-dsym.tar.xz": "0a1ec2b17e3caf87f54456f8bbb2646595fbfeda565e7b0af3a605bfd7570cec",
|
|
13
|
+
"electron-v44.0.0-beta.5-darwin-arm64-symbols.zip": "ffdff73139cbabb8dd50d97e9b8da24a9860e9a30504d64fc4e57cbee300713c",
|
|
14
|
+
"electron-v44.0.0-beta.5-darwin-arm64.zip": "0c1075d0c9dbbf1218b76628bf854370e5aabe6861970a5367a5de3ec4bd1517",
|
|
15
|
+
"electron-v44.0.0-beta.5-darwin-x64-dsym-snapshot.zip": "605c89f3c5d96354e73bd76ed1e80323118ead8dfcd71f31ed6019b50365c2ad",
|
|
16
|
+
"electron-v44.0.0-beta.5-darwin-x64-dsym.tar.xz": "70bc6751102b9109654fb71a9d95a01d4fe9e709c70e3ed38a588afa526c7c5a",
|
|
17
|
+
"electron-v44.0.0-beta.5-darwin-x64-symbols.zip": "4c8c754b299f97ddc51df33f39db28f30b4e7f12b00a672f4eb46ab91fe2a76b",
|
|
18
|
+
"electron-v44.0.0-beta.5-darwin-x64.zip": "753831f550ccdddc94b1e088da74f0a879b380c2f900c0e774fd8dbd17d1e234",
|
|
19
|
+
"electron-v44.0.0-beta.5-linux-arm64-debug.zip": "8fdcf07ad8f01ba36a644bf752daffa627bcc490abf9137f217db89f7c3ccfb1",
|
|
20
|
+
"electron-v44.0.0-beta.5-linux-arm64-symbols.zip": "9a74a3814af876f9c23873001b473b8929247106b142e506b67c72d4dac3b68e",
|
|
21
|
+
"electron-v44.0.0-beta.5-linux-arm64.zip": "d9f83ed933baf5e06fa8628779656d42e63d1aea589bd3a4b977722563a25ca1",
|
|
22
|
+
"electron-v44.0.0-beta.5-linux-x64-debug.zip": "edfcfa8ce9925a84914e57631e8c42161227f211178ac60a18881ef17330889c",
|
|
23
|
+
"electron-v44.0.0-beta.5-linux-x64-symbols.zip": "c41ffd4038fbb543d6d9821c6b6d38a9c63d0ba11fc03d4c1ba4a2b44971b291",
|
|
24
|
+
"electron-v44.0.0-beta.5-linux-x64.zip": "ba9372ce19fd9ce7300bdc0197d9a4affe1dfa5a7601948620502fce5df75e84",
|
|
25
|
+
"electron-v44.0.0-beta.5-mas-arm64-dsym-snapshot.zip": "e39aa978157e4d16bb7799adbe1688a7c140804e107fe6cab9d7072d794fd8d9",
|
|
26
|
+
"electron-v44.0.0-beta.5-mas-arm64-dsym.tar.xz": "489e4a93254d15ab105426787ab48ee5b1db4cae02037fb0cf237f97d5bd7106",
|
|
27
|
+
"electron-v44.0.0-beta.5-mas-arm64-symbols.zip": "95c12224d342ce8fe196c198e91ea6571ea1f2cb47794174c829bc6f41df0e95",
|
|
28
|
+
"electron-v44.0.0-beta.5-mas-arm64.zip": "90782628988af8eb056f926bbc818fc6c3a81aef0aa6a3e4771f07d0a86a1f75",
|
|
29
|
+
"electron-v44.0.0-beta.5-mas-x64-dsym-snapshot.zip": "5f6cd78f1b01d4a5393a0766ac716a81ad24c1a6e3ca9efb7876b8df65c1e02f",
|
|
30
|
+
"electron-v44.0.0-beta.5-mas-x64-dsym.tar.xz": "d2b564323f97b0726bc5f327288288024444c2c9c0a73bc5fb43095098cb0263",
|
|
31
|
+
"electron-v44.0.0-beta.5-mas-x64-symbols.zip": "100ca13acd0088254896664fdeac44bb3e5b84723cdc34a8deaa2f73ec74d5e2",
|
|
32
|
+
"electron-v44.0.0-beta.5-mas-x64.zip": "749a340c1af013ee82e01f6262c6554e9ebfafa92923cf3fd19bc110b0db0e3d",
|
|
33
|
+
"electron-v44.0.0-beta.5-win32-arm64-pdb.zip": "b060b4deb4c8e3cc1c5563296630b13415b63d357e4f0cc2dddcf94a96426423",
|
|
34
|
+
"electron-v44.0.0-beta.5-win32-arm64-symbols.zip": "3a0af546069d3cf5fd96ed2e3c0e43d06bce7f253b9cff62158ff7cc71156355",
|
|
35
|
+
"electron-v44.0.0-beta.5-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
|
|
36
|
+
"electron-v44.0.0-beta.5-win32-arm64.zip": "efb079c07a5d78df3aa21fe6145e507200545b5dafcd04d2ec72bb1955145963",
|
|
37
|
+
"electron-v44.0.0-beta.5-win32-x64-pdb.zip": "ff9f3b8f1d0a38036a2c0f59f82b79d0a84be21d6b950b04cfc7a7c52838e530",
|
|
38
|
+
"electron-v44.0.0-beta.5-win32-x64-symbols.zip": "69c40062c7eac41caeb34531b2bc7883d299e91a300ef4ea6fb6493816e78838",
|
|
39
|
+
"electron-v44.0.0-beta.5-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
|
|
40
|
+
"electron-v44.0.0-beta.5-win32-x64.zip": "0a47fb348b1e435386240fdb0733c8d44771b7190c739fbe309dbca7434328ad",
|
|
41
|
+
"electron.d.ts": "df0af5c7fe5d5a75b14fb27149bf165818784b6a5abd0be857cfa2db408c552c",
|
|
42
|
+
"ffmpeg-v44.0.0-beta.5-darwin-arm64.zip": "3669ecdf51499e5512e9719273a70bc18dcb076d2dce719a06be9784d3788b11",
|
|
43
|
+
"ffmpeg-v44.0.0-beta.5-darwin-x64.zip": "e8c9bf42f55586c4e05a690503c11c4799443fa7c0fb5984c4e34ec497f516b2",
|
|
44
|
+
"ffmpeg-v44.0.0-beta.5-linux-arm64.zip": "a9dfc32c463595c6e0133070f1982aa1abbd3ddbdbf030af03880f482ab9bfcd",
|
|
45
|
+
"ffmpeg-v44.0.0-beta.5-linux-x64.zip": "5cb4d11e0fc349af83ebbdafa3af741dd208a5a624e0608bb54605914d896941",
|
|
46
|
+
"ffmpeg-v44.0.0-beta.5-mas-arm64.zip": "3a523844858aa2e78a1c92db6ff08e7e85444c11f455c532fdde44cbd6a95949",
|
|
47
|
+
"ffmpeg-v44.0.0-beta.5-mas-x64.zip": "b72e15f91c635eb1c0de5367bca48a861a39b4b3838feef1a3231324f373e9cc",
|
|
48
|
+
"ffmpeg-v44.0.0-beta.5-win32-arm64.zip": "d60dacedc8f9f81a60788399490e93bf611d586af54ae20a104b49ce2a67a411",
|
|
49
|
+
"ffmpeg-v44.0.0-beta.5-win32-x64.zip": "f57a3df8155279b69c3979230b66d35572952ceaf01b299d7ed98978748393d7",
|
|
50
|
+
"hunspell_dictionaries.zip": "9d83b17f632b620e2c59768be62cb9468da1a8389b9c4fcb11c82f910c34ed42",
|
|
51
|
+
"libcxx-objects-v44.0.0-beta.5-linux-arm64.zip": "3da89850a8f85280df0450096bf234fa44a697e3cf2bd479c7933a95214e896d",
|
|
52
|
+
"libcxx-objects-v44.0.0-beta.5-linux-x64.zip": "aa1a2ff7880deb769df4bebc92b99f830996596adbff24cb90fde4ca9b6fdb4a",
|
|
53
|
+
"libcxx_headers.zip": "1d0aae852a7bb07fc9f0a666bb4b5a5cab78d746e670a11507b26d1c50fb9f53",
|
|
54
|
+
"libcxxabi_headers.zip": "0ccd65db7b9278d87d7de7456c8936fc907f1601fd9f915436e59f84d7e602d5",
|
|
55
|
+
"mksnapshot-v44.0.0-beta.5-darwin-arm64.zip": "9b53216f935721f21614a76d245511f7ec3dde91f135d72eda5bf583d6bae8fe",
|
|
56
|
+
"mksnapshot-v44.0.0-beta.5-darwin-x64.zip": "47e9e2b103f00b14e6c1cc1bed97efec4be3cbb71c9c2d9f2db82d4ed9b3f17c",
|
|
57
|
+
"mksnapshot-v44.0.0-beta.5-linux-arm64-x64.zip": "a211924ccdf89b9ec4b3f509c755b16b73a8449930cbe8e711aa6bac5d621930",
|
|
58
|
+
"mksnapshot-v44.0.0-beta.5-linux-x64.zip": "0bd5b8c7c7f90e6c89e2e8a0e0b0212ffefd64b51be05af4ab1bab35d42e433d",
|
|
59
|
+
"mksnapshot-v44.0.0-beta.5-mas-arm64.zip": "83294a5bdbdf4afa674afb64ceb65e61681df106cbf8fea9da26e042ec6f7eec",
|
|
60
|
+
"mksnapshot-v44.0.0-beta.5-mas-x64.zip": "7caa8f8977824afc269d4c50496b78e5ad843a888ae0ca361ddbb72ebb5a85d2",
|
|
61
|
+
"mksnapshot-v44.0.0-beta.5-win32-arm64-x64.zip": "623496bf3acf93cdb128bf59cd88159476c61986bcac65be292963b14abfb12a",
|
|
62
|
+
"mksnapshot-v44.0.0-beta.5-win32-x64.zip": "3b0b6b5575ad84072f2383cb2c136d080838fd66365c71406e63e9c78dd4fcd3"
|
|
63
63
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 44.0.0-beta.5
|
|
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
|
|
@@ -1686,14 +1686,31 @@ declare namespace Electron {
|
|
|
1686
1686
|
*/
|
|
1687
1687
|
setClientCertRequestPasswordHandler(handler: (clientCertRequestParams: ClientCertRequestParams) => Promise<string>): void;
|
|
1688
1688
|
/**
|
|
1689
|
-
* Sets the `.desktop` filename on Linux. This
|
|
1690
|
-
*
|
|
1689
|
+
* Sets the `.desktop` filename on Linux. This must match the base filename of the
|
|
1690
|
+
* app's installed `.desktop` file. The `.desktop` suffix is optional.
|
|
1691
1691
|
*
|
|
1692
|
-
*
|
|
1693
|
-
*
|
|
1694
|
-
*
|
|
1695
|
-
*
|
|
1696
|
-
*
|
|
1692
|
+
* The name (without the `.desktop` suffix) is the app's identity for Linux desktop
|
|
1693
|
+
* integration. It should be a reverse-DNS style ID such as `com.example.MyApp`,
|
|
1694
|
+
* following the desktop entry naming conventions. This value is used as:
|
|
1695
|
+
*
|
|
1696
|
+
* * the XDG application ID (`app_id`) on Wayland and `WM_CLASS` on X11, used to
|
|
1697
|
+
* match the app's icon and window grouping.
|
|
1698
|
+
* * the app ID that `xdg-desktop-portal` reports to portal backends such as
|
|
1699
|
+
* GlobalShortcuts.
|
|
1700
|
+
*
|
|
1701
|
+
* Portals increasingly enforce this identity. If the name is not a valid
|
|
1702
|
+
* reverse-DNS ID or does not match an installed `.desktop` file:
|
|
1703
|
+
*
|
|
1704
|
+
* * GNOME 50.0/50.1 (Ubuntu 26.04) rejects `globalShortcut` binds with
|
|
1705
|
+
* `org.freedesktop.portal.Error.NotAllowed` — with no error surfaced to the app
|
|
1706
|
+
* (see #52218).
|
|
1707
|
+
* * `xdg-desktop-portal` 1.21 and later refuses portal sessions for app IDs it
|
|
1708
|
+
* cannot resolve to a `.desktop` file.
|
|
1709
|
+
*
|
|
1710
|
+
* If this value is not set and `desktopName` is not present in `package.json`,
|
|
1711
|
+
* Electron falls back to a lowercased, hyphenated slug of the app's name (e.g. `My
|
|
1712
|
+
* App` → `my-app.desktop`), which is unlikely to be a valid portal identity —
|
|
1713
|
+
* packaged apps should always set it explicitly.
|
|
1697
1714
|
*
|
|
1698
1715
|
* This API must be called before the `ready` event. The value can also be set
|
|
1699
1716
|
* using `desktopName` in `package.json`.
|
|
@@ -20411,6 +20428,13 @@ declare namespace Electron {
|
|
|
20411
20428
|
* another value by including an `=`, followed by the value. Special values `yes`
|
|
20412
20429
|
* and `1` are interpreted as `true`, while `no` and `0` are interpreted as
|
|
20413
20430
|
* `false`.
|
|
20431
|
+
*
|
|
20432
|
+
* Security-critical preferences cannot be used to make the guest less secure than
|
|
20433
|
+
* its embedder. When the embedder has any of `contextIsolation`, `javascript`,
|
|
20434
|
+
* `nodeIntegration`, `nodeIntegrationInWorker`, `sandbox`,
|
|
20435
|
+
* `nodeIntegrationInSubFrames` or `enableWebSQL` set to its more secure value, the
|
|
20436
|
+
* guest inherits that value and the corresponding `webpreferences` entry is
|
|
20437
|
+
* ignored.
|
|
20414
20438
|
*/
|
|
20415
20439
|
webpreferences: string;
|
|
20416
20440
|
}
|
|
@@ -24211,10 +24235,11 @@ declare namespace Electron {
|
|
|
24211
24235
|
*/
|
|
24212
24236
|
frame: (WebFrameMain) | (null);
|
|
24213
24237
|
/**
|
|
24214
|
-
* The frame which initiated the navigation
|
|
24215
|
-
* `window.open` with a frame's name),
|
|
24216
|
-
*
|
|
24217
|
-
*
|
|
24238
|
+
* The frame which initiated the navigation. This can be a parent frame (e.g. via
|
|
24239
|
+
* `window.open` with a frame's name), a child frame (e.g. an unsandboxed iframe
|
|
24240
|
+
* navigating its parent via `<a target="_top">`), or null if the navigation was
|
|
24241
|
+
* not initiated by a frame. This can also be null if the initiating frame was
|
|
24242
|
+
* deleted before the event was emitted.
|
|
24218
24243
|
*/
|
|
24219
24244
|
initiator?: (WebFrameMain) | (null);
|
|
24220
24245
|
}
|
|
@@ -24240,10 +24265,11 @@ declare namespace Electron {
|
|
|
24240
24265
|
*/
|
|
24241
24266
|
frame: (WebFrameMain) | (null);
|
|
24242
24267
|
/**
|
|
24243
|
-
* The frame which initiated the navigation
|
|
24244
|
-
* `window.open` with a frame's name),
|
|
24245
|
-
*
|
|
24246
|
-
*
|
|
24268
|
+
* The frame which initiated the navigation. This can be a parent frame (e.g. via
|
|
24269
|
+
* `window.open` with a frame's name), a child frame (e.g. an unsandboxed iframe
|
|
24270
|
+
* navigating its parent via `<a target="_top">`), or null if the navigation was
|
|
24271
|
+
* not initiated by a frame. This can also be null if the initiating frame was
|
|
24272
|
+
* deleted before the event was emitted.
|
|
24247
24273
|
*/
|
|
24248
24274
|
initiator?: (WebFrameMain) | (null);
|
|
24249
24275
|
}
|
|
@@ -24365,10 +24391,11 @@ declare namespace Electron {
|
|
|
24365
24391
|
*/
|
|
24366
24392
|
frame: (WebFrameMain) | (null);
|
|
24367
24393
|
/**
|
|
24368
|
-
* The frame which initiated the navigation
|
|
24369
|
-
* `window.open` with a frame's name),
|
|
24370
|
-
*
|
|
24371
|
-
*
|
|
24394
|
+
* The frame which initiated the navigation. This can be a parent frame (e.g. via
|
|
24395
|
+
* `window.open` with a frame's name), a child frame (e.g. an unsandboxed iframe
|
|
24396
|
+
* navigating its parent via `<a target="_top">`), or null if the navigation was
|
|
24397
|
+
* not initiated by a frame. This can also be null if the initiating frame was
|
|
24398
|
+
* deleted before the event was emitted.
|
|
24372
24399
|
*/
|
|
24373
24400
|
initiator?: (WebFrameMain) | (null);
|
|
24374
24401
|
}
|
|
@@ -24394,10 +24421,11 @@ declare namespace Electron {
|
|
|
24394
24421
|
*/
|
|
24395
24422
|
frame: (WebFrameMain) | (null);
|
|
24396
24423
|
/**
|
|
24397
|
-
* The frame which initiated the navigation
|
|
24398
|
-
* `window.open` with a frame's name),
|
|
24399
|
-
*
|
|
24400
|
-
*
|
|
24424
|
+
* The frame which initiated the navigation. This can be a parent frame (e.g. via
|
|
24425
|
+
* `window.open` with a frame's name), a child frame (e.g. an unsandboxed iframe
|
|
24426
|
+
* navigating its parent via `<a target="_top">`), or null if the navigation was
|
|
24427
|
+
* not initiated by a frame. This can also be null if the initiating frame was
|
|
24428
|
+
* deleted before the event was emitted.
|
|
24401
24429
|
*/
|
|
24402
24430
|
initiator?: (WebFrameMain) | (null);
|
|
24403
24431
|
}
|
|
@@ -24423,10 +24451,11 @@ declare namespace Electron {
|
|
|
24423
24451
|
*/
|
|
24424
24452
|
frame: (WebFrameMain) | (null);
|
|
24425
24453
|
/**
|
|
24426
|
-
* The frame which initiated the navigation
|
|
24427
|
-
* `window.open` with a frame's name),
|
|
24428
|
-
*
|
|
24429
|
-
*
|
|
24454
|
+
* The frame which initiated the navigation. This can be a parent frame (e.g. via
|
|
24455
|
+
* `window.open` with a frame's name), a child frame (e.g. an unsandboxed iframe
|
|
24456
|
+
* navigating its parent via `<a target="_top">`), or null if the navigation was
|
|
24457
|
+
* not initiated by a frame. This can also be null if the initiating frame was
|
|
24458
|
+
* deleted before the event was emitted.
|
|
24430
24459
|
*/
|
|
24431
24460
|
initiator?: (WebFrameMain) | (null);
|
|
24432
24461
|
}
|
package/install.js
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
const { downloadArtifact } = require('@electron/get');
|
|
4
4
|
|
|
5
|
-
const { extract } = require('@electron-internal/extract-zip');
|
|
6
|
-
|
|
7
5
|
const childProcess = require('child_process');
|
|
8
6
|
const fs = require('fs');
|
|
9
7
|
const os = require('os');
|
|
@@ -77,6 +75,12 @@ function isInstalled() {
|
|
|
77
75
|
|
|
78
76
|
// unzips and makes path.txt point at the correct executable
|
|
79
77
|
function extractFile(zipPath) {
|
|
78
|
+
// Loaded here, not at the top of the file: the extractor has a native
|
|
79
|
+
// binding, and an OS policy can block its load (see electron/electron#52481).
|
|
80
|
+
// A lazy require keeps `isInstalled()` working in that case, so an
|
|
81
|
+
// already-installed dist does not need the extractor at all.
|
|
82
|
+
const { extract } = require('@electron-internal/extract-zip');
|
|
83
|
+
|
|
80
84
|
const distPath = process.env.ELECTRON_OVERRIDE_DIST_PATH || path.join(__dirname, 'dist');
|
|
81
85
|
|
|
82
86
|
return extract(zipPath, { dir: path.join(__dirname, 'dist') }).then(() => {
|
package/package.json
CHANGED