electron 16.0.4 → 16.0.8
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 +78 -78
- package/electron.d.ts +14 -13
- package/install.js +2 -1
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v16.0.
|
|
3
|
-
"chromedriver-v16.0.
|
|
4
|
-
"chromedriver-v16.0.
|
|
5
|
-
"chromedriver-v16.0.
|
|
6
|
-
"chromedriver-v16.0.
|
|
7
|
-
"chromedriver-v16.0.
|
|
8
|
-
"chromedriver-v16.0.
|
|
9
|
-
"chromedriver-v16.0.
|
|
10
|
-
"chromedriver-v16.0.
|
|
11
|
-
"chromedriver-v16.0.
|
|
12
|
-
"chromedriver-v16.0.
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-v16.0.
|
|
15
|
-
"electron-v16.0.
|
|
16
|
-
"electron-v16.0.
|
|
17
|
-
"electron-v16.0.
|
|
18
|
-
"electron-v16.0.
|
|
19
|
-
"electron-v16.0.
|
|
20
|
-
"electron-v16.0.
|
|
21
|
-
"electron-v16.0.
|
|
22
|
-
"electron-v16.0.
|
|
23
|
-
"electron-v16.0.
|
|
24
|
-
"electron-v16.0.
|
|
25
|
-
"electron-v16.0.
|
|
26
|
-
"electron-v16.0.
|
|
27
|
-
"electron-v16.0.
|
|
28
|
-
"electron-v16.0.
|
|
29
|
-
"electron-v16.0.
|
|
30
|
-
"electron-v16.0.
|
|
31
|
-
"electron-v16.0.
|
|
32
|
-
"electron-v16.0.
|
|
33
|
-
"electron-v16.0.
|
|
34
|
-
"electron-v16.0.
|
|
35
|
-
"electron-v16.0.
|
|
36
|
-
"electron-v16.0.
|
|
37
|
-
"electron-v16.0.
|
|
38
|
-
"electron-v16.0.
|
|
39
|
-
"electron-v16.0.
|
|
40
|
-
"electron-v16.0.
|
|
41
|
-
"electron-v16.0.
|
|
42
|
-
"electron-v16.0.
|
|
43
|
-
"electron-v16.0.
|
|
44
|
-
"electron-v16.0.
|
|
45
|
-
"electron-v16.0.
|
|
46
|
-
"electron-v16.0.
|
|
47
|
-
"electron-v16.0.
|
|
48
|
-
"electron-v16.0.
|
|
49
|
-
"electron-v16.0.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v16.0.
|
|
52
|
-
"ffmpeg-v16.0.
|
|
53
|
-
"ffmpeg-v16.0.
|
|
54
|
-
"ffmpeg-v16.0.
|
|
55
|
-
"ffmpeg-v16.0.
|
|
56
|
-
"ffmpeg-v16.0.
|
|
57
|
-
"ffmpeg-v16.0.
|
|
58
|
-
"ffmpeg-v16.0.
|
|
59
|
-
"ffmpeg-v16.0.
|
|
60
|
-
"ffmpeg-v16.0.
|
|
61
|
-
"ffmpeg-v16.0.
|
|
62
|
-
"hunspell_dictionaries.zip": "
|
|
63
|
-
"libcxx-objects-v16.0.
|
|
64
|
-
"libcxx-objects-v16.0.
|
|
65
|
-
"libcxx-objects-v16.0.
|
|
66
|
-
"libcxx-objects-v16.0.
|
|
67
|
-
"libcxx_headers.zip": "
|
|
68
|
-
"libcxxabi_headers.zip": "
|
|
69
|
-
"mksnapshot-v16.0.
|
|
70
|
-
"mksnapshot-v16.0.
|
|
71
|
-
"mksnapshot-v16.0.
|
|
72
|
-
"mksnapshot-v16.0.
|
|
73
|
-
"mksnapshot-v16.0.
|
|
74
|
-
"mksnapshot-v16.0.
|
|
75
|
-
"mksnapshot-v16.0.
|
|
76
|
-
"mksnapshot-v16.0.
|
|
77
|
-
"mksnapshot-v16.0.
|
|
78
|
-
"mksnapshot-v16.0.
|
|
79
|
-
"mksnapshot-v16.0.
|
|
2
|
+
"chromedriver-v16.0.8-darwin-arm64.zip": "bb98d3de5c72e3c26d9791a9614ab9b12ba7b0892c8fcd3082132ebd15ce4f6e",
|
|
3
|
+
"chromedriver-v16.0.8-darwin-x64.zip": "d0d5154ef18757eba25d7d2342e1e1325c2cc962d6782d06354e4f52a65024d9",
|
|
4
|
+
"chromedriver-v16.0.8-linux-arm64.zip": "5cfb4a6c55e0ab824e4c4ef17422c67b4522490ccfa5f86c117a76731b1bd0fa",
|
|
5
|
+
"chromedriver-v16.0.8-linux-armv7l.zip": "ce985ce4c461f26ec9edb304f8d092c9a673a4b6a7d6c3e7ee09c9cf66dae8d4",
|
|
6
|
+
"chromedriver-v16.0.8-linux-ia32.zip": "e6cec0770d5a29d932b042f13f58643e036e9561b8ad6d6af2878486f7af28cf",
|
|
7
|
+
"chromedriver-v16.0.8-linux-x64.zip": "0c3e855c4dd54fbbd544ce40978a1c21866e21e9c12fbc05396e226b8410da5a",
|
|
8
|
+
"chromedriver-v16.0.8-mas-arm64.zip": "9a485554d6c227ebc554d327d1d142173b13eddfc4fc0882596e6599a3cdcea0",
|
|
9
|
+
"chromedriver-v16.0.8-mas-x64.zip": "3f22c72a3fc156dd94fef67e9e22516fdcb3fab6f58be29878afd42f8d860f7b",
|
|
10
|
+
"chromedriver-v16.0.8-win32-arm64.zip": "dd79c750b01473a1654523a40f09e17e74e5af329b4a184bc1cc7efa9ef48565",
|
|
11
|
+
"chromedriver-v16.0.8-win32-ia32.zip": "2c417744c0c6714a87149a3b96835c06b30860e62b112ea5120d31eac6261973",
|
|
12
|
+
"chromedriver-v16.0.8-win32-x64.zip": "74798b7cb48983d4971a6ae6a9db5ef6c20ddfc93d71b8ff34a3c4dcbd2cd53e",
|
|
13
|
+
"electron-api.json": "e28a4ade44ebe704e6ffbdecd722be65770858eaa42b2be9d1d2d6910db26037",
|
|
14
|
+
"electron-v16.0.8-darwin-arm64-dsym.zip": "d2b152e42f038882642f4f22b60ac9b462aca07f2d3502ffe0f79128a8d430d6",
|
|
15
|
+
"electron-v16.0.8-darwin-arm64-symbols.zip": "ca81b21274aaa7789a7ea6bd697d7f591178a4f2bb82eede1ff3f502ef0caf77",
|
|
16
|
+
"electron-v16.0.8-darwin-arm64.zip": "dc8414d7b9a967bda530c83a81720519931aebf541cfaed142ee2042c16e683a",
|
|
17
|
+
"electron-v16.0.8-darwin-x64-dsym.zip": "2c6ed8d03ae271c011c686315d37edc69fb31b3b8dc8af8549fc9a69195c2a5d",
|
|
18
|
+
"electron-v16.0.8-darwin-x64-symbols.zip": "146e9b7f528288e7e38e89404e2323845664ebb9cbd5328d2bb571db211f368e",
|
|
19
|
+
"electron-v16.0.8-darwin-x64.zip": "a3c5e5368165304fc9392e3a5b59480965cf0f91f7d889257e6a622f48051cbf",
|
|
20
|
+
"electron-v16.0.8-linux-arm64-debug.zip": "974f7d2a5f3355232039fbab0d0851ff1e937ce02d2c27690e96e80a840080e4",
|
|
21
|
+
"electron-v16.0.8-linux-arm64-symbols.zip": "74836c5eeaa530fed4709be0c00529071db5c425156936042a8b3fb3e26f6f87",
|
|
22
|
+
"electron-v16.0.8-linux-arm64.zip": "465cd93d69ea2e3273339d48bef58e7359b692da5535bff5882e803c22535ec5",
|
|
23
|
+
"electron-v16.0.8-linux-armv7l-debug.zip": "974f7d2a5f3355232039fbab0d0851ff1e937ce02d2c27690e96e80a840080e4",
|
|
24
|
+
"electron-v16.0.8-linux-armv7l-symbols.zip": "bc09307069e8607fdad383cd0a2037e8cd57d0bebc498befba80d1091ae77c65",
|
|
25
|
+
"electron-v16.0.8-linux-armv7l.zip": "be3a598d5f7c677c11831b78a8a82d95132ea760bb643e526426b91fdf27aff7",
|
|
26
|
+
"electron-v16.0.8-linux-ia32-debug.zip": "974f7d2a5f3355232039fbab0d0851ff1e937ce02d2c27690e96e80a840080e4",
|
|
27
|
+
"electron-v16.0.8-linux-ia32-symbols.zip": "036e4e8938a0a0c5891e80b1d5e413ae113dad4edbfddbf032918baa201ac1bb",
|
|
28
|
+
"electron-v16.0.8-linux-ia32.zip": "1cedf35f501ea1512fe9ae5cae47a72e093b6eb7297f76b726551e4a33a593a5",
|
|
29
|
+
"electron-v16.0.8-linux-x64-debug.zip": "6ded9770cba26026a5ef827f64a7f058bbe1dee9f8a26230628982701cb8dace",
|
|
30
|
+
"electron-v16.0.8-linux-x64-symbols.zip": "0470bd79bb52d6523f18a291f18686d17247bbcf02c9ffde50559061aeb34d24",
|
|
31
|
+
"electron-v16.0.8-linux-x64.zip": "25767a94d4b0927616ed5008889cd65bb073c7005209671b34045f91d698c857",
|
|
32
|
+
"electron-v16.0.8-mas-arm64-dsym.zip": "cf25f4dcde0b4793420e0f1c7b16dfa1bbbded2fc857da734f6719a68b068ce8",
|
|
33
|
+
"electron-v16.0.8-mas-arm64-symbols.zip": "1acf1a0b7a7719969db632047cef9055e32163c50473f2811d12c709c91548dd",
|
|
34
|
+
"electron-v16.0.8-mas-arm64.zip": "4612e08a5f8876d0b7502321689ad67a1be044550208b55e311f3cb00a929339",
|
|
35
|
+
"electron-v16.0.8-mas-x64-dsym.zip": "76fd0bb823e06f3c2c94acceaa3532385120cbc8ab1a06df00af9386346ee307",
|
|
36
|
+
"electron-v16.0.8-mas-x64-symbols.zip": "e615075e321adc2ef9b301956afe744c585a36365db5ceb1e6e54f6abb7be635",
|
|
37
|
+
"electron-v16.0.8-mas-x64.zip": "880fc89157192c508bb7f77077613f431e41ecf3f3fbed0079835c59b5070cbe",
|
|
38
|
+
"electron-v16.0.8-win32-arm64-pdb.zip": "02af91f9f6d25211aef48f28e5d6d7657154f3f04a61e4ef3199a36c9f889b4f",
|
|
39
|
+
"electron-v16.0.8-win32-arm64-symbols.zip": "9ffb11ece4a6fa4f374d3eccef7bac641dc513791433b759de4b858572d065b4",
|
|
40
|
+
"electron-v16.0.8-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
41
|
+
"electron-v16.0.8-win32-arm64.zip": "8639fd01e7a720e71652ab476ec468d9712d62e9f2130574b1fed7513536f0f7",
|
|
42
|
+
"electron-v16.0.8-win32-ia32-pdb.zip": "7bdc3e170840160ca4593fddfc1dc62e242acf6eb0a5ca79ef8b32647458d5d0",
|
|
43
|
+
"electron-v16.0.8-win32-ia32-symbols.zip": "11226c32e04586578aa4bd0c1b5c99d57556713430c407d21d170d37c337e72c",
|
|
44
|
+
"electron-v16.0.8-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
45
|
+
"electron-v16.0.8-win32-ia32.zip": "f0e44c66024e423e4171492dc37c2c5b1e22f1a07b6f1588941c82de762e4d47",
|
|
46
|
+
"electron-v16.0.8-win32-x64-pdb.zip": "f58c2ffdcf2d1d14b1ad84e52db00e59c30448d4a8b2126dce86557838b60116",
|
|
47
|
+
"electron-v16.0.8-win32-x64-symbols.zip": "530693df7759f4fd1c6a1bcfad25c8b0b30a044e9ca8645ad60a0a9634fb497e",
|
|
48
|
+
"electron-v16.0.8-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
49
|
+
"electron-v16.0.8-win32-x64.zip": "53297203f5d831b649865307b4387e9977fae45c511e2ef40039bb7968b6d24e",
|
|
50
|
+
"electron.d.ts": "9a9a62251513485d56f602a111ed01f2bbd74ac475a3ad406ca9b6fc76793363",
|
|
51
|
+
"ffmpeg-v16.0.8-darwin-arm64.zip": "cf72d8c16b71326242d09816953212c789a27ae81a019a1cd9c68fc9f31d5444",
|
|
52
|
+
"ffmpeg-v16.0.8-darwin-x64.zip": "cd3f13eacdad80a049958af485ef23c99d14822189dcbc07cdd059d0b1f4e8ec",
|
|
53
|
+
"ffmpeg-v16.0.8-linux-arm64.zip": "a099583e4d60665c3e000d7d545649eddd586a99f8ebea7d949c6c963dcf0d81",
|
|
54
|
+
"ffmpeg-v16.0.8-linux-armv7l.zip": "c55a5009a9732ee4d3f24a903583de5699a65e1818dad62177414ee66fc1fda5",
|
|
55
|
+
"ffmpeg-v16.0.8-linux-ia32.zip": "b72e79ed0f49630da9a949321afb5a95f593cbfa97e63fcd4b39dba846d2bc77",
|
|
56
|
+
"ffmpeg-v16.0.8-linux-x64.zip": "62e3171d0e348dada5978ce8fa73f546684217da8f4a19b1f2b523aa5facf7fc",
|
|
57
|
+
"ffmpeg-v16.0.8-mas-arm64.zip": "cf72d8c16b71326242d09816953212c789a27ae81a019a1cd9c68fc9f31d5444",
|
|
58
|
+
"ffmpeg-v16.0.8-mas-x64.zip": "cd3f13eacdad80a049958af485ef23c99d14822189dcbc07cdd059d0b1f4e8ec",
|
|
59
|
+
"ffmpeg-v16.0.8-win32-arm64.zip": "7c3396372038fe77799c55572da744d7f963ed28dd60b7aeb7be4ebaa2826cc4",
|
|
60
|
+
"ffmpeg-v16.0.8-win32-ia32.zip": "3c3e3cf3850bf22ca4db689dae05faf134a3f44e82cefff33d6ca4fcbe90d4dc",
|
|
61
|
+
"ffmpeg-v16.0.8-win32-x64.zip": "b888261e6cefde6e88ab0056f4ce4f6fd344c5c44b690893286ff7668f9ab353",
|
|
62
|
+
"hunspell_dictionaries.zip": "b0014ca7997b12801ac92cfc5e437e9ef05b4169ab00705cba7d2b2c8f6c5df0",
|
|
63
|
+
"libcxx-objects-v16.0.8-linux-arm64.zip": "7796102187cc368da02ffdf8970dd92a44a651f6384e3d6393fecad4af959719",
|
|
64
|
+
"libcxx-objects-v16.0.8-linux-armv7l.zip": "05e3e05e7196c91f252fc04afb3e00d61dc3e044498d0280dc11be808f2f0d25",
|
|
65
|
+
"libcxx-objects-v16.0.8-linux-ia32.zip": "22fb8b015451e09e0e1b4209c8a9b8b68443eb6b6076247299b3a44708fc8229",
|
|
66
|
+
"libcxx-objects-v16.0.8-linux-x64.zip": "1ab3986f9ffa77ff98440adcd9a6293161ec48359acbac882554c83429c1bb69",
|
|
67
|
+
"libcxx_headers.zip": "a037255bb998271285fc377f378549492b3b3faa925e83e98bec337c6e72379e",
|
|
68
|
+
"libcxxabi_headers.zip": "27ca29a3e2b5ae095e4001cbeb7c1f33ded3efe595c43064de0f276c85168d79",
|
|
69
|
+
"mksnapshot-v16.0.8-darwin-arm64.zip": "1f4b43846a8df8b52280fcee694cd03b5a764c663825faa75350a2a00a470d53",
|
|
70
|
+
"mksnapshot-v16.0.8-darwin-x64.zip": "32990af54c3b6978348c13d87cfa1b76152d84c48656b0b37c97e4b953193ec6",
|
|
71
|
+
"mksnapshot-v16.0.8-linux-arm64-x64.zip": "75b394d2296d61845b66f34541fe4de493447f30e1697c92dc11d1727c01fb57",
|
|
72
|
+
"mksnapshot-v16.0.8-linux-armv7l-x64.zip": "d47a228f75e6007a0323a91776fd6ea5421d3b82606f5fa130d8a7d7f0023459",
|
|
73
|
+
"mksnapshot-v16.0.8-linux-ia32.zip": "c729249cbf6792408e57869a42f03caf2a29b28c7ee91a4903b207de4092397a",
|
|
74
|
+
"mksnapshot-v16.0.8-linux-x64.zip": "78d65d166ed6a9e0b7d5c6d7c46c9d47f97a141e87d4ec000c3d5140527fac98",
|
|
75
|
+
"mksnapshot-v16.0.8-mas-arm64.zip": "30856d06c09173a8ff5d55bb84cd5f11ecc7d12ebe4dc5ce4fd9f1a380eeed38",
|
|
76
|
+
"mksnapshot-v16.0.8-mas-x64.zip": "c2bd6aa90a070cbee96bb324ec649695fc426dd19d09fa9f0dc4397878990013",
|
|
77
|
+
"mksnapshot-v16.0.8-win32-arm64-x64.zip": "abecc3988b07c186efc36079380d50849c5655beda02041ab778c51ee4f0f813",
|
|
78
|
+
"mksnapshot-v16.0.8-win32-ia32.zip": "151632dead2913e6b12c4520c01672523505bceda65df46261288e0268dd6f44",
|
|
79
|
+
"mksnapshot-v16.0.8-win32-x64.zip": "fa1eb1812b62587dafe1892be1b1c3ef6d49ea57b5d75d56915884eecb9a2afc"
|
|
80
80
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 16.0.
|
|
1
|
+
// Type definitions for Electron 16.0.8
|
|
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/electron-typescript-definitions
|
|
@@ -1129,10 +1129,6 @@ declare namespace Electron {
|
|
|
1129
1129
|
*/
|
|
1130
1130
|
removeAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
|
|
1131
1131
|
/**
|
|
1132
|
-
* * `additionalData` unknown (optional) - A JSON object containing additional data
|
|
1133
|
-
* to send to the first instance.
|
|
1134
|
-
*
|
|
1135
|
-
*
|
|
1136
1132
|
* The return value of this method indicates whether or not this instance of your
|
|
1137
1133
|
* application successfully obtained the lock. If it failed to obtain the lock,
|
|
1138
1134
|
* you can assume that another instance of your application is already running with
|
|
@@ -1152,7 +1148,7 @@ declare namespace Electron {
|
|
|
1152
1148
|
* An example of activating the window of primary instance when a second instance
|
|
1153
1149
|
* starts:
|
|
1154
1150
|
*/
|
|
1155
|
-
requestSingleInstanceLock(): boolean;
|
|
1151
|
+
requestSingleInstanceLock(additionalData?: Record<any, any>): boolean;
|
|
1156
1152
|
/**
|
|
1157
1153
|
* Marks the current Handoff user activity as inactive without invalidating it.
|
|
1158
1154
|
*
|
|
@@ -2015,8 +2011,8 @@ declare namespace Electron {
|
|
|
2015
2011
|
* Emitted before the window is moved. On Windows, calling `event.preventDefault()`
|
|
2016
2012
|
* will prevent the window from being moved.
|
|
2017
2013
|
*
|
|
2018
|
-
* Note that this is only emitted when the window is being
|
|
2019
|
-
*
|
|
2014
|
+
* Note that this is only emitted when the window is being moved manually. Moving
|
|
2015
|
+
* the window with `setPosition`/`setBounds`/`center` will not emit this event.
|
|
2020
2016
|
*
|
|
2021
2017
|
* @platform darwin,win32
|
|
2022
2018
|
*/
|
|
@@ -7765,9 +7761,11 @@ declare namespace Electron {
|
|
|
7765
7761
|
* If you want to override this behavior you can use this API to point the
|
|
7766
7762
|
* dictionary downloader at your own hosted version of the hunspell dictionaries.
|
|
7767
7763
|
* We publish a `hunspell_dictionaries.zip` file with each release which contains
|
|
7768
|
-
* the files you need to host here
|
|
7769
|
-
*
|
|
7770
|
-
*
|
|
7764
|
+
* the files you need to host here.
|
|
7765
|
+
*
|
|
7766
|
+
* The file server must be **case insensitive**. If you cannot do this, you must
|
|
7767
|
+
* upload each file twice: once with the case it has in the ZIP file and once with
|
|
7768
|
+
* the filename as all lowercase.
|
|
7771
7769
|
*
|
|
7772
7770
|
* If the files present in `hunspell_dictionaries.zip` are available at
|
|
7773
7771
|
* `https://example.com/dictionaries/language-code.bdic` then you should call this
|
|
@@ -10483,6 +10481,9 @@ declare namespace Electron {
|
|
|
10483
10481
|
* `webBluetooth` should be enabled. If `event.preventDefault` is not called, first
|
|
10484
10482
|
* available device will be selected. `callback` should be called with `deviceId`
|
|
10485
10483
|
* to be selected, passing empty string to `callback` will cancel the request.
|
|
10484
|
+
*
|
|
10485
|
+
* If no event listener is added for this event, all bluetooth requests will be
|
|
10486
|
+
* cancelled.
|
|
10486
10487
|
*/
|
|
10487
10488
|
on(event: 'select-bluetooth-device', listener: (event: Event,
|
|
10488
10489
|
devices: BluetoothDevice[],
|
|
@@ -14476,11 +14477,11 @@ declare namespace Electron {
|
|
|
14476
14477
|
|
|
14477
14478
|
interface OpenDevToolsOptions {
|
|
14478
14479
|
/**
|
|
14479
|
-
* Opens the devtools with specified dock state, can be `right`, `bottom`,
|
|
14480
|
+
* Opens the devtools with specified dock state, can be `left`, `right`, `bottom`,
|
|
14480
14481
|
* `undocked`, `detach`. Defaults to last used dock state. In `undocked` mode it's
|
|
14481
14482
|
* possible to dock back. In `detach` mode it's not.
|
|
14482
14483
|
*/
|
|
14483
|
-
mode: ('right' | 'bottom' | 'undocked' | 'detach');
|
|
14484
|
+
mode: ('left' | 'right' | 'bottom' | 'undocked' | 'detach');
|
|
14484
14485
|
/**
|
|
14485
14486
|
* Whether to bring the opened devtools window to the foreground. The default is
|
|
14486
14487
|
* `true`.
|
package/install.js
CHANGED
|
@@ -22,7 +22,8 @@ if (isInstalled()) {
|
|
|
22
22
|
const platform = process.env.npm_config_platform || process.platform;
|
|
23
23
|
let arch = process.env.npm_config_arch || process.arch;
|
|
24
24
|
|
|
25
|
-
if (platform === 'darwin' && process.platform === 'darwin' && arch === 'x64'
|
|
25
|
+
if (platform === 'darwin' && process.platform === 'darwin' && arch === 'x64' &&
|
|
26
|
+
process.env.npm_config_arch === undefined) {
|
|
26
27
|
// When downloading for macOS ON macOS and we think we need x64 we should
|
|
27
28
|
// check if we're running under rosetta and download the arm64 version if appropriate
|
|
28
29
|
try {
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "16.0.
|
|
19
|
+
"version": "16.0.8",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|