electron 44.0.0-beta.4 → 44.0.0-beta.6

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 CHANGED
@@ -1,63 +1,63 @@
1
1
  {
2
- "chromedriver-v44.0.0-beta.4-darwin-arm64.zip": "1f1cbea8cd1f40e03229c4ea87c360ea62fed74df4d92717b26e4b0900f48e9a",
3
- "chromedriver-v44.0.0-beta.4-darwin-x64.zip": "995a127b76b9536988ad1e9a06ecf853a66d26a8bf2afe0007d45e9d3ce22946",
4
- "chromedriver-v44.0.0-beta.4-linux-arm64.zip": "73b363b76db2d11ba164e01f19e3573bc68422d04de72c7ab050214c2a26f602",
5
- "chromedriver-v44.0.0-beta.4-linux-x64.zip": "7029ab710867c4ee65473e28c61019477f967ce5cabed28a326c92efcd001099",
6
- "chromedriver-v44.0.0-beta.4-mas-arm64.zip": "6caa4782920f667a959eae7ed0937adca95afada245891f1de55bcfa2e233cf2",
7
- "chromedriver-v44.0.0-beta.4-mas-x64.zip": "a737d5fe673a0f3f2970fdc4924eb024a50a5edf54bed48da99a7e05f123a603",
8
- "chromedriver-v44.0.0-beta.4-win32-arm64.zip": "a89ae4be9c07768d19ac02c5143041bf2dfd1bf5d86a34b9eac1cf5f996a7ce4",
9
- "chromedriver-v44.0.0-beta.4-win32-x64.zip": "ac08424e221678e7986bb7c547bb1039687845eaa7438da50280d0f87b6e7234",
10
- "electron-api.json": "f300ba8b79f95f652e2e5fd5dbc8c190b90820bf602443140980ea2fd0ce1cc4",
11
- "electron-v44.0.0-beta.4-darwin-arm64-dsym-snapshot.zip": "dd2d889908e6f7f3bf8699468a79242eeadac949be6e4aa2a0a8ba089ebdceaa",
12
- "electron-v44.0.0-beta.4-darwin-arm64-dsym.tar.xz": "ac9afc82a1deb337107c71c7b4b1b5e0859311f22289385e9b4d264be3e36725",
13
- "electron-v44.0.0-beta.4-darwin-arm64-symbols.zip": "8bd609207ae477ae17a38ded1ab197c372cdfaf7289ee1ade61748e8d0a7a1ad",
14
- "electron-v44.0.0-beta.4-darwin-arm64.zip": "2360c0511a180f7afb0661e7924375486dc5df9df9254283b1c1f75c7de7bb2e",
15
- "electron-v44.0.0-beta.4-darwin-x64-dsym-snapshot.zip": "b789b23cd398efbd30213aa3f63875412a50379d78255c3ef162ada0bc43c407",
16
- "electron-v44.0.0-beta.4-darwin-x64-dsym.tar.xz": "2e120b92c62166a998dcf1cb83fbd73775e6d01947a04966324fbc8e96589e95",
17
- "electron-v44.0.0-beta.4-darwin-x64-symbols.zip": "46b737bb374e76c1e9cff9faa87e6586890f31907f12d61eeb60ca032b42e802",
18
- "electron-v44.0.0-beta.4-darwin-x64.zip": "250fb6d23c2eb6a163a6801462b40adeaa1374d8becfd1708d14d4bf8b2f41a2",
19
- "electron-v44.0.0-beta.4-linux-arm64-debug.zip": "6f76eab2e17c35a0fdccb7dff0a519c1d5b8681a11a5bb8e5f18b2967e568b14",
20
- "electron-v44.0.0-beta.4-linux-arm64-symbols.zip": "70397b6b08bc201041121c9dd28f68bfdfb71d64da58b04461535612081bdcc5",
21
- "electron-v44.0.0-beta.4-linux-arm64.zip": "062e931de3f12b3af9e492f080883cf48dfae6a59be94fa44d5317bc92b5cf14",
22
- "electron-v44.0.0-beta.4-linux-x64-debug.zip": "5cbc615f984c0b5aeb5b384aa6d96c2c60090465b5a81f69e1bd22e23ee01659",
23
- "electron-v44.0.0-beta.4-linux-x64-symbols.zip": "7496acaf7cf09f3e0634c284c147368b27c61f590a4e130e2450cbb2d6bc5c27",
24
- "electron-v44.0.0-beta.4-linux-x64.zip": "d2ea46f7d22487982203b803f2265de594bef6aaf419f4835755ddadb19ca137",
25
- "electron-v44.0.0-beta.4-mas-arm64-dsym-snapshot.zip": "affe208bdcf6fa0ab55567adbb12b381ca51513a7609295d60db7a016a8e83d7",
26
- "electron-v44.0.0-beta.4-mas-arm64-dsym.tar.xz": "784874a1b22d25192b36cb5de7746bddf9deb3d39a927238fb2bd553576fa412",
27
- "electron-v44.0.0-beta.4-mas-arm64-symbols.zip": "de424cbc08da1cd3ac2b782ab8a7f0962c1d5d34f8c8e117a342d32540ceeb3b",
28
- "electron-v44.0.0-beta.4-mas-arm64.zip": "5f85156932a3cc2e56790744eac2a8a54b7f123f6a9f25838577258275a5835f",
29
- "electron-v44.0.0-beta.4-mas-x64-dsym-snapshot.zip": "da7b89e5393b55537b1f0b6e26adf52a0a4e8a1113936a322a164ac4e67cf4df",
30
- "electron-v44.0.0-beta.4-mas-x64-dsym.tar.xz": "848f8665f2340ec0286a8b50448ed7d5c7482c17655a2db5f6a9e4cfcad7d881",
31
- "electron-v44.0.0-beta.4-mas-x64-symbols.zip": "936b3f54bb16fdaff5d4c6a5aa95af92ff994e001ff1b951133d4f9b8e52cff5",
32
- "electron-v44.0.0-beta.4-mas-x64.zip": "403fb84bad1e41e4f3a49f0d46b0eacb7cb00c7ea5bcdfd344db772b24cceb5b",
33
- "electron-v44.0.0-beta.4-win32-arm64-pdb.zip": "254043027c53c6ad1898c3989383325e5c17d0592eea629d8ee55a1e87ad4c44",
34
- "electron-v44.0.0-beta.4-win32-arm64-symbols.zip": "2c2ce59760cadb7182336bafada7bdf8f4b93dc7898e94119296e1522527dc3e",
35
- "electron-v44.0.0-beta.4-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
36
- "electron-v44.0.0-beta.4-win32-arm64.zip": "65284012eaea05d0708b53740dc1da6331106937782861362c33f7c2f5c8cbc0",
37
- "electron-v44.0.0-beta.4-win32-x64-pdb.zip": "bb2dedcde36158ccdb2c7e9defab934aafb981586d6c13fe1caa0f0db11f647b",
38
- "electron-v44.0.0-beta.4-win32-x64-symbols.zip": "cd7d59545a20836ba9f07da94fabe26ce271f77ae282241145fe3e1e0ba9aa15",
39
- "electron-v44.0.0-beta.4-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
40
- "electron-v44.0.0-beta.4-win32-x64.zip": "485cd5d715885a45db021d58c02d0e9bfbf1e60d7b8c8dda30b0d3849d2138ee",
41
- "electron.d.ts": "c0722f7fadbbc97540a9ccb0b71fc4d340202fff13b7115932acd773e69939a1",
42
- "ffmpeg-v44.0.0-beta.4-darwin-arm64.zip": "520160422763b16d47841c71f28895a0dc02a5af4137953cf41f81674840a086",
43
- "ffmpeg-v44.0.0-beta.4-darwin-x64.zip": "e2ba6f6795d855284b2d8ed918b5285be35ff10a72ce217b08ccd91208884ecc",
44
- "ffmpeg-v44.0.0-beta.4-linux-arm64.zip": "e18f351b0bcf68fd5a7e4c71bf762b1fcd6bd4c5514cf848f43d01102872140e",
45
- "ffmpeg-v44.0.0-beta.4-linux-x64.zip": "022779cbca289b4800a1b20206df3b4d7faa2759dd95441f65632a5c462c90c1",
46
- "ffmpeg-v44.0.0-beta.4-mas-arm64.zip": "70718d9c8dcffed1019d5468e34f9e7787fba7650d63ac636293150f5a799165",
47
- "ffmpeg-v44.0.0-beta.4-mas-x64.zip": "3ac195c1ad4c3b060ff3a106bfc55d30de4dfa451bb4a305e1906e451a666548",
48
- "ffmpeg-v44.0.0-beta.4-win32-arm64.zip": "8849e3ada67f0dc719a0c92054efbe3c9a38c3ebfea3ee5cab7d9eb77f6757f8",
49
- "ffmpeg-v44.0.0-beta.4-win32-x64.zip": "e87f38c21bb7dfb10f42701de14472861a4571e66ccbb49d48f43d15651ea060",
50
- "hunspell_dictionaries.zip": "a3a648aee3117a304858d33f10ff367de259cc45a17c14a3a589c908f24935de",
51
- "libcxx-objects-v44.0.0-beta.4-linux-arm64.zip": "bb79f02d8b85a7ca7cf0b3857bdea68835a054bc464fba5e251bf0e8f64fbfa2",
52
- "libcxx-objects-v44.0.0-beta.4-linux-x64.zip": "7ef16d6544d4fb5475b2f1e9b36bd3d7fc5ef1c950e4e75e3d893e192a6d3bc5",
53
- "libcxx_headers.zip": "3efa388828cd417a3b0af854065aa8de0f89bf81ef000629feaf98ed495a382e",
2
+ "chromedriver-v44.0.0-beta.6-darwin-arm64.zip": "abaa31c0be158351b4509178db919ab71c5fd515707419fdcdd8d02ba76cfc5e",
3
+ "chromedriver-v44.0.0-beta.6-darwin-x64.zip": "b8b5aa9947f9e9d823bf7ab1cad2c13649e21bfa1141ed836b47870aef27d513",
4
+ "chromedriver-v44.0.0-beta.6-linux-arm64.zip": "068ac260859373b7e4e2ee51ddd94b2e0ca669a2ae21173c041e649de66f8782",
5
+ "chromedriver-v44.0.0-beta.6-linux-x64.zip": "ca5bb246475ee972c2e36d2cce673a0e8371bb7728b62a19eb64a726d1796c81",
6
+ "chromedriver-v44.0.0-beta.6-mas-arm64.zip": "9f7a407a0bf511efa8d85863147f8bda5814d30691b350a6d1342133d92ad3d5",
7
+ "chromedriver-v44.0.0-beta.6-mas-x64.zip": "a3959128d2dfc4df9f12103c97055a5dfd72ba77fd652af72381f8072ef32250",
8
+ "chromedriver-v44.0.0-beta.6-win32-arm64.zip": "919e1040cfe813221ede1dd85ec85ff04da5b6d7da7095ff75510239592cafda",
9
+ "chromedriver-v44.0.0-beta.6-win32-x64.zip": "9d62c8794094160c1fa468cc62997aaae1f91c0db7f5d0e98a98774f15421a99",
10
+ "electron-api.json": "7fec068669c5f2c65969a87cc2426bd6d05c90b2cb5c84fc45c592b4a75ea2e2",
11
+ "electron-v44.0.0-beta.6-darwin-arm64-dsym-snapshot.zip": "ec474d668df6452472b5d5457a0c0c5e2e1c63df6a1de9a3ee68a9d8e8cef68f",
12
+ "electron-v44.0.0-beta.6-darwin-arm64-dsym.tar.xz": "9005b8df2534eb753d823b82662593e8bd2e39a3af1b05b09f745616316ade79",
13
+ "electron-v44.0.0-beta.6-darwin-arm64-symbols.zip": "8bf46750ac2a979fcab523672288bdf36acbb535f818f1f36de18a5880c8c96c",
14
+ "electron-v44.0.0-beta.6-darwin-arm64.zip": "9b4073fa5a1415da9b1ed37a4b1bbd51cf1c23d933593bbc6d6a86eddc688d44",
15
+ "electron-v44.0.0-beta.6-darwin-x64-dsym-snapshot.zip": "ec474d668df6452472b5d5457a0c0c5e2e1c63df6a1de9a3ee68a9d8e8cef68f",
16
+ "electron-v44.0.0-beta.6-darwin-x64-dsym.tar.xz": "2c48e631b14e56ef32e4eea2e3547e513dc6908727338f75cf4ec71ca4a28e1d",
17
+ "electron-v44.0.0-beta.6-darwin-x64-symbols.zip": "d49650f4c7b6e7e1f399d518ea7abe2c6036464b60bda3a97da2420ac806fd7c",
18
+ "electron-v44.0.0-beta.6-darwin-x64.zip": "cd00daf393795c9d5ecb131c8852700bf6308194702c2154df2a46dbec66b2b8",
19
+ "electron-v44.0.0-beta.6-linux-arm64-debug.zip": "631747b10cf9764fdfd88437a38e6697f71ebf72f9f9c583713fbd7f773c1a4a",
20
+ "electron-v44.0.0-beta.6-linux-arm64-symbols.zip": "a4888c47ac9eda78d19f522a77a4510009de32e23b06db2781991409087bfaaf",
21
+ "electron-v44.0.0-beta.6-linux-arm64.zip": "57371cc024ed6b70b7f007cae2825fd44f70582fe651abaee0e1cb2446b081ae",
22
+ "electron-v44.0.0-beta.6-linux-x64-debug.zip": "47cc2eb71f575225296bff92f89c92a0c6235faf013306af643fd46bce325611",
23
+ "electron-v44.0.0-beta.6-linux-x64-symbols.zip": "1bc24cca538232a3cbdcbcb724bdbdbcc97e9b135877082a6a3174560478b069",
24
+ "electron-v44.0.0-beta.6-linux-x64.zip": "a4f62e514cfda6f8dd6dc4f0ab560516b37490d6eca6417dd77ba362571427b9",
25
+ "electron-v44.0.0-beta.6-mas-arm64-dsym-snapshot.zip": "ec474d668df6452472b5d5457a0c0c5e2e1c63df6a1de9a3ee68a9d8e8cef68f",
26
+ "electron-v44.0.0-beta.6-mas-arm64-dsym.tar.xz": "fbc1d6cfe417aa78c8fd56292a298535448612d662bc4049bc9bb468cc62258f",
27
+ "electron-v44.0.0-beta.6-mas-arm64-symbols.zip": "7d204c12e6a2e697027c6a924edd98cbb140ee66c4cda8e34a8caf9737c72e67",
28
+ "electron-v44.0.0-beta.6-mas-arm64.zip": "9affc6748636141c68e40b146be4977d884df8d5635039b1c4562775d247909e",
29
+ "electron-v44.0.0-beta.6-mas-x64-dsym-snapshot.zip": "ec474d668df6452472b5d5457a0c0c5e2e1c63df6a1de9a3ee68a9d8e8cef68f",
30
+ "electron-v44.0.0-beta.6-mas-x64-dsym.tar.xz": "d580ffbb843286475cfbc1a8c51c6cbd8b55b8952c298d53f3f7e44e096a117d",
31
+ "electron-v44.0.0-beta.6-mas-x64-symbols.zip": "d49a88638e7bff700a6b321f218129c68542aadff8d1cabcb34533d530986580",
32
+ "electron-v44.0.0-beta.6-mas-x64.zip": "1ab7a2176cf0a203baf0c89af1c8ff98b4d3f536f09497e52bfe28ddb3130544",
33
+ "electron-v44.0.0-beta.6-win32-arm64-pdb.zip": "27d8c00705ea5fdef7f03b8cabb87fcc2d8e029a895520bff781211009808f6d",
34
+ "electron-v44.0.0-beta.6-win32-arm64-symbols.zip": "8f3a2a9692852edbc62a840e15129b0cfcbe3c83f5ba8e445fdb0ba2b1fdbd8d",
35
+ "electron-v44.0.0-beta.6-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
36
+ "electron-v44.0.0-beta.6-win32-arm64.zip": "fc3291d1fe1a6d80fc28f164a57f4cd56bf3f757f62b6e4fe122b40d6e10212d",
37
+ "electron-v44.0.0-beta.6-win32-x64-pdb.zip": "d3cf48a78f12f5e5bbd39fe096428b2646f8148a282f3c31736a0db69e657693",
38
+ "electron-v44.0.0-beta.6-win32-x64-symbols.zip": "89081a56f76a232d166a381f4e4c6886677efee4a4dd915b7ad21ab80a98a07f",
39
+ "electron-v44.0.0-beta.6-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
40
+ "electron-v44.0.0-beta.6-win32-x64.zip": "5207b4d059db7baa853321f2b09c97328656c6b8c741c1e9cd456a3a8744a763",
41
+ "electron.d.ts": "59917134f9854348e3b861b894501e44c3acadb241941926447591377019eb05",
42
+ "ffmpeg-v44.0.0-beta.6-darwin-arm64.zip": "9c6f31139acbd687e6f01828aec7be1cc3dd5f22cefd83c4aa0209c110ac2350",
43
+ "ffmpeg-v44.0.0-beta.6-darwin-x64.zip": "dfbcadd5286bcabb0adab5982ce9d05fb5707ba815f65a7da31c2a533bf9a4da",
44
+ "ffmpeg-v44.0.0-beta.6-linux-arm64.zip": "a9dfc32c463595c6e0133070f1982aa1abbd3ddbdbf030af03880f482ab9bfcd",
45
+ "ffmpeg-v44.0.0-beta.6-linux-x64.zip": "5cb4d11e0fc349af83ebbdafa3af741dd208a5a624e0608bb54605914d896941",
46
+ "ffmpeg-v44.0.0-beta.6-mas-arm64.zip": "57f1dea4125729091eb05a7e1acceb55239900d4e81673f04d0a675c381bc9fc",
47
+ "ffmpeg-v44.0.0-beta.6-mas-x64.zip": "4a74a531e5901aca840b60c012a9b231d826a8eb91455ed1b8e41cda7c8bc201",
48
+ "ffmpeg-v44.0.0-beta.6-win32-arm64.zip": "354a1760ca6436ad882eb1220a5f36481354aa56e65db9273fcd49a328444720",
49
+ "ffmpeg-v44.0.0-beta.6-win32-x64.zip": "ed2576e75013e5f721769204a6d8ee3a2998ad47b474f24147215feaca456a4e",
50
+ "hunspell_dictionaries.zip": "9d2ec1702c987315047891d72835af57794ca2e96fc734f05ac2db6004fe1053",
51
+ "libcxx-objects-v44.0.0-beta.6-linux-arm64.zip": "97d6e17cac66140e6efb5e063dabc31a9ec68e54b136b7f568992ce22c7fda54",
52
+ "libcxx-objects-v44.0.0-beta.6-linux-x64.zip": "78e3b08c385d34c9dadb8d8922edaf534c195ac899f5aca7baf44f91fcc0c968",
53
+ "libcxx_headers.zip": "c39660c1509f1b265785b1f8fec26583406e5c925e33537d53560f7a5af6d925",
54
54
  "libcxxabi_headers.zip": "44ead66e0b119cac843fc863d990a03da030f6a59192ec6fa6b77747cb2a3ed2",
55
- "mksnapshot-v44.0.0-beta.4-darwin-arm64.zip": "aca14f285fe6596adc71e81bdb2b61eaae91c09272d9ce549c37881ca35f9861",
56
- "mksnapshot-v44.0.0-beta.4-darwin-x64.zip": "34e8b7c7aa4b4db3e072c20e0dd7d1c5bc52c42fd08d313bf37315da348029fd",
57
- "mksnapshot-v44.0.0-beta.4-linux-arm64-x64.zip": "6a2ab8e548e364635f379a7025e84e9ad8cc0a89a33f5d810cdb8fde3a5ef2f6",
58
- "mksnapshot-v44.0.0-beta.4-linux-x64.zip": "3d584b0ab1a6fab58cd8483b5fc87152b6b9302928a0d61405603b42bbc26fe2",
59
- "mksnapshot-v44.0.0-beta.4-mas-arm64.zip": "4ef1d1ecf2c85d8c5bb78ea3f3cd75e87f61171e8bb5b80e5acc07c2cb1cb8ef",
60
- "mksnapshot-v44.0.0-beta.4-mas-x64.zip": "0edd33ad12c89f9b6c5e0727ef2fc21eed7ceaf056ddc1413eb4aa195ee84d3c",
61
- "mksnapshot-v44.0.0-beta.4-win32-arm64-x64.zip": "d065f38a92c4c7d0b4055d0f604aab96ecd0e29f7103dd075d584acb08ed778d",
62
- "mksnapshot-v44.0.0-beta.4-win32-x64.zip": "03b30df5929fd4686bfdd0941f13f48299dfa1be990137fbf50fca551fd743b3"
55
+ "mksnapshot-v44.0.0-beta.6-darwin-arm64.zip": "00c485079028933b1ce1e84a56881ca3d319a1207338a019bf5781e65695deda",
56
+ "mksnapshot-v44.0.0-beta.6-darwin-x64.zip": "8850c1da31746c8b8ff28deddc3fcf7b95e2e213c6fb06fe18f55377bd453879",
57
+ "mksnapshot-v44.0.0-beta.6-linux-arm64-x64.zip": "971d0c33f5544287cafadf3465f755b06cd6e2fa1bd4e356b1cddf1455154766",
58
+ "mksnapshot-v44.0.0-beta.6-linux-x64.zip": "94e48a2139d6483a0ce8799265a5baa290cacd5a66e9d9eac3c5427d2f2eae02",
59
+ "mksnapshot-v44.0.0-beta.6-mas-arm64.zip": "268e6876b2ed8f17a1b5e80e10092be66380f24105545eff25f76601995b1aed",
60
+ "mksnapshot-v44.0.0-beta.6-mas-x64.zip": "5d9a9ecaec0dc467e5053275fdaf14864915f42d56e0500235467b6b5c34a9f9",
61
+ "mksnapshot-v44.0.0-beta.6-win32-arm64-x64.zip": "4ce5d39570c5a87ee539dc6aaee7fc40fd97c8813771b433a15bccc3a4b07d2b",
62
+ "mksnapshot-v44.0.0-beta.6-win32-x64.zip": "1fbdc18869467a76ebfd7f22cbac3c57558fe5ea72148ad7458197a0d1f9e932"
63
63
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.0.0-beta.4
1
+ // Type definitions for Electron 44.0.0-beta.6
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
@@ -1551,6 +1551,11 @@ declare namespace Electron {
1551
1551
  * line, the system's single instance mechanism will be bypassed, and you have to
1552
1552
  * use this method to ensure single instance.
1553
1553
  *
1554
+ * > [!NOTE] On macOS and Linux, the second instance's command line arguments and
1555
+ * `additionalData` are sent to the primary instance in a single message that is
1556
+ * limited to 32 MB. Larger messages are dropped: this method still returns
1557
+ * `false`, but the primary instance does not emit `second-instance`.
1558
+ *
1554
1559
  * An example of activating the window of primary instance when a second instance
1555
1560
  * starts:
1556
1561
  */
@@ -1671,13 +1676,20 @@ declare namespace Electron {
1671
1676
  /**
1672
1677
  * Whether the call succeeded.
1673
1678
  *
1674
- * Sets the Dock icon counter badge for current app. Setting the count to `0` will
1675
- * hide the badge.
1679
+ * Sets the counter badge for current app. Setting the count to `0` will hide the
1680
+ * badge.
1676
1681
  *
1677
- * > [!NOTE] You need to ensure that your application has the permission to display
1678
- * notifications for this method to work.
1682
+ * On macOS, it shows on the Dock icon. On Linux, it shows on docks and taskbars
1683
+ * that support the LauncherEntry D-Bus API,
1679
1684
  *
1680
- * @platform darwin
1685
+ * > [!NOTE] On Linux, the badge is associated with the app's `.desktop` file, so
1686
+ * `app.setDesktopName` (or the `desktopName` field in `package.json`) must match
1687
+ * the name of the app's actual `.desktop` file.
1688
+ *
1689
+ * > [!NOTE] On macOS, you need to ensure that your application has the permission
1690
+ * to display notifications for this method to work.
1691
+ *
1692
+ * @platform linux,darwin
1681
1693
  */
1682
1694
  setBadgeCount(count?: number): boolean;
1683
1695
  /**
@@ -1686,14 +1698,31 @@ declare namespace Electron {
1686
1698
  */
1687
1699
  setClientCertRequestPasswordHandler(handler: (clientCertRequestParams: ClientCertRequestParams) => Promise<string>): void;
1688
1700
  /**
1689
- * Sets the `.desktop` filename on Linux. This should match the base filename of
1690
- * the app's installed `.desktop` file. The `.desktop` suffix is optional.
1701
+ * Sets the `.desktop` filename on Linux. This must match the base filename of the
1702
+ * app's installed `.desktop` file. The `.desktop` suffix is optional.
1703
+ *
1704
+ * The name (without the `.desktop` suffix) is the app's identity for Linux desktop
1705
+ * integration. It should be a reverse-DNS style ID such as `com.example.MyApp`,
1706
+ * following the desktop entry naming conventions. This value is used as:
1707
+ *
1708
+ * * the XDG application ID (`app_id`) on Wayland and `WM_CLASS` on X11, used to
1709
+ * match the app's icon and window grouping.
1710
+ * * the app ID that `xdg-desktop-portal` reports to portal backends such as
1711
+ * GlobalShortcuts.
1691
1712
  *
1692
- * This value is used to determine the default XDG application ID on Wayland and
1693
- * `WM_CLASS` on X11. If it is not set, Electron will attempt to infer a name, but
1694
- * it may not match the packaged app's actual `.desktop` file. This could result in
1695
- * the app showing a generic icon or failing to respond to global keyboard
1696
- * shortcuts.
1713
+ * Portals increasingly enforce this identity. If the name is not a valid
1714
+ * reverse-DNS ID or does not match an installed `.desktop` file:
1715
+ *
1716
+ * * GNOME 50.0/50.1 (Ubuntu 26.04) rejects `globalShortcut` binds with
1717
+ * `org.freedesktop.portal.Error.NotAllowed` — with no error surfaced to the app
1718
+ * (see #52218).
1719
+ * * `xdg-desktop-portal` 1.21 and later refuses portal sessions for app IDs it
1720
+ * cannot resolve to a `.desktop` file.
1721
+ *
1722
+ * If this value is not set and `desktopName` is not present in `package.json`,
1723
+ * Electron falls back to a lowercased, hyphenated slug of the app's name (e.g. `My
1724
+ * App` → `my-app.desktop`), which is unlikely to be a valid portal identity —
1725
+ * packaged apps should always set it explicitly.
1697
1726
  *
1698
1727
  * This API must be called before the `ready` event. The value can also be set
1699
1728
  * using `desktopName` in `package.json`.
@@ -1907,12 +1936,12 @@ declare namespace Electron {
1907
1936
  /**
1908
1937
  * An `Integer` property that returns the badge count for current app. Setting the
1909
1938
  * count to `0` will hide the badge. Setting this with any nonzero integer shows
1910
- * the count on the Dock icon.
1939
+ * the count on the Dock icon on macOS, or on the launcher on Linux.
1911
1940
  *
1912
- * > [!NOTE] You need to ensure that your application has the permission to display
1913
- * notifications for this property to take effect.
1941
+ * > [!NOTE] On macOS, you need to ensure that your application has the permission
1942
+ * to display notifications for this property to take effect.
1914
1943
  *
1915
- * @platform darwin
1944
+ * @platform linux,darwin
1916
1945
  */
1917
1946
  badgeCount: number;
1918
1947
  /**
@@ -3415,7 +3444,10 @@ declare namespace Electron {
3415
3444
  * `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
3416
3445
  * mode set (but with a value within the valid range), `normal` will be assumed.
3417
3446
  *
3418
- * @platform win32,darwin
3447
+ * On Linux, the progress bar shows on docks and taskbars that support the
3448
+ * LauncherEntry D-Bus API. It is associated with the app's `.desktop` file, so
3449
+ * `app.setDesktopName` must match the name of the app's actual `.desktop` file.
3450
+ * Indeterminate mode is not supported.
3419
3451
  */
3420
3452
  setProgressBar(progress: number, options?: ProgressBarOptions): void;
3421
3453
  /**
@@ -6235,7 +6267,10 @@ declare namespace Electron {
6235
6267
  * `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
6236
6268
  * mode set (but with a value within the valid range), `normal` will be assumed.
6237
6269
  *
6238
- * @platform win32,darwin
6270
+ * On Linux, the progress bar shows on docks and taskbars that support the
6271
+ * LauncherEntry D-Bus API. It is associated with the app's `.desktop` file, so
6272
+ * `app.setDesktopName` must match the name of the app's actual `.desktop` file.
6273
+ * Indeterminate mode is not supported.
6239
6274
  */
6240
6275
  setProgressBar(progress: number, options?: ProgressBarOptions): void;
6241
6276
  /**
@@ -20411,6 +20446,13 @@ declare namespace Electron {
20411
20446
  * another value by including an `=`, followed by the value. Special values `yes`
20412
20447
  * and `1` are interpreted as `true`, while `no` and `0` are interpreted as
20413
20448
  * `false`.
20449
+ *
20450
+ * Security-critical preferences cannot be used to make the guest less secure than
20451
+ * its embedder. When the embedder has any of `contextIsolation`, `javascript`,
20452
+ * `nodeIntegration`, `nodeIntegrationInWorker`, `sandbox`,
20453
+ * `nodeIntegrationInSubFrames` or `enableWebSQL` set to its more secure value, the
20454
+ * guest inherits that value and the corresponding `webpreferences` entry is
20455
+ * ignored.
20414
20456
  */
20415
20457
  webpreferences: string;
20416
20458
  }
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron",
3
- "version": "44.0.0-beta.4",
3
+ "version": "44.0.0-beta.6",
4
4
  "repository": "https://github.com/electron/electron",
5
5
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
6
6
  "license": "MIT",