electron 44.0.0-beta.5 → 44.0.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/checksums.json CHANGED
@@ -1,63 +1,69 @@
1
1
  {
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"
2
+ "chromedriver-v44.0.0-darwin-arm64.zip": "2ae9243bfc24fdb3827200b3f76951dac28bf1145e636ee203730ad6e96989c7",
3
+ "chromedriver-v44.0.0-darwin-x64.zip": "4841688fceed360b636c990a8643ef36b61de416a120b401aa7dfd5d19777f99",
4
+ "chromedriver-v44.0.0-linux-arm64.zip": "589c9c395ea373602a48a1329ded0f23e5457d7d5c2d088fb05f89c603cb7d20",
5
+ "chromedriver-v44.0.0-linux-x64.zip": "d7d2c5e90b987d9c1eb917ad4438731d17f1e2f4414fbaa9ed0d3f48f0b3d105",
6
+ "chromedriver-v44.0.0-mas-arm64.zip": "a5883404c005be42dc908041ca4a7988677461513ad117acf5589ec71f5e6de4",
7
+ "chromedriver-v44.0.0-mas-x64.zip": "8154949ebeba41cc86e27df1141eb30bf8e564fb1740ed55affaecff27163396",
8
+ "chromedriver-v44.0.0-win32-arm64.zip": "e3aeafc3e57af09d42af93fb0da6a3a809ad86fa77a7e371cc54fadfa1f467ed",
9
+ "chromedriver-v44.0.0-win32-x64.zip": "fe7d31ed459ac06df1fe2f2461a2857d8146788d899fa1f38505cf6cbb7bd50f",
10
+ "electron-api.json": "e0392591366b836d25fa98089a583a12133e732455a2398779dafe402b266ee7",
11
+ "electron-v44.0.0-darwin-arm64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
12
+ "electron-v44.0.0-darwin-arm64-dsym.tar.xz": "cb0b920c3b5295170503d542903b8ccc942392e1cb46e2e2fa1074c4262ddb0e",
13
+ "electron-v44.0.0-darwin-arm64-symbols.zip": "d12a7ca7ddca2d8cf0903531199b73b1933c475e65359d43ee4946cb7a898f4b",
14
+ "electron-v44.0.0-darwin-arm64.zip": "076d79742986e1b100b69ebecc691cb07368045e54c9087cef631b8622b76a80",
15
+ "electron-v44.0.0-darwin-x64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
16
+ "electron-v44.0.0-darwin-x64-dsym.tar.xz": "31b8177a3c49df7cda151eed3892afff86a8130385aa37c6df8de728eaecc012",
17
+ "electron-v44.0.0-darwin-x64-symbols.zip": "70ea5b1b896a18867bff5bef65bb24c106f9d780b64842f6e47679ca4a32d9db",
18
+ "electron-v44.0.0-darwin-x64.zip": "28429e700ad68d9624aaa90b6543ffe891a48c14121fd904cd294e5edcee63ff",
19
+ "electron-v44.0.0-linux-arm64-debug.zip": "7e6313430fa111b9d6497167b774caf622b7d36eb2bc7e2ad00650d6253c47fd",
20
+ "electron-v44.0.0-linux-arm64-symbols.zip": "3e63dbbac23eda2e218a5cb7c9cfe72015ad1a45b2ca64674dfd61ca6e28cf96",
21
+ "electron-v44.0.0-linux-arm64.zip": "74b6f18bc29c0d52cf8e963c45d476800419097c6f3d53b27c5df335207e52bb",
22
+ "electron-v44.0.0-linux-x64-debug.zip": "2dd34e8506e96b7a048c873bacad6531442889d2bac59ced32fe3da73641aa09",
23
+ "electron-v44.0.0-linux-x64-symbols.zip": "bc3dcb79115d609cd927d80713734e2e7d933bd3637757ee0bf56af7fe3dae0d",
24
+ "electron-v44.0.0-linux-x64.zip": "d65286d812719f2b4c1a1b806a80f288a1058c89c7b058dae1e03ab25e499446",
25
+ "electron-v44.0.0-mas-arm64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
26
+ "electron-v44.0.0-mas-arm64-dsym.tar.xz": "2b5fadd9dc633fc18f17556caa51297d308a8ddb504aa5e4715c60cb1af20893",
27
+ "electron-v44.0.0-mas-arm64-symbols.zip": "a6b177b77716f5e968df8575d94d559ebddb92026db13241553794eef0838945",
28
+ "electron-v44.0.0-mas-arm64.zip": "5df0d1fccf812fa2d06c56c43e541202f1472dd561b1eb12cc5deec205915ae4",
29
+ "electron-v44.0.0-mas-x64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
30
+ "electron-v44.0.0-mas-x64-dsym.tar.xz": "d938e16613ae42331168a6cbb1b03dcf8e87c0cb32d76c6d7a0e05823d8cc191",
31
+ "electron-v44.0.0-mas-x64-symbols.zip": "afa68b1fde51b6d1c2c51b65dec4d839a4ee12c72f9bc88ea2882d819fc00215",
32
+ "electron-v44.0.0-mas-x64.zip": "83ffb3e8314d4a764fa9483eda841aaf94adc0561b475b79e8154c34510e925b",
33
+ "electron-v44.0.0-win32-arm64-pdb.zip": "9cdf4ae6b489ade87fad2914a841de074943897e7802fffd0045b2ef81076b5f",
34
+ "electron-v44.0.0-win32-arm64-symbols.zip": "fd831df087a2b4ae390c569c2001660c819e3ccb45770dc0caf3cb9049992591",
35
+ "electron-v44.0.0-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
36
+ "electron-v44.0.0-win32-arm64.zip": "984c8f3b9ffaf3c0a3f3501c96277effc05a9f0df5a5d920b2610c09ebaf4368",
37
+ "electron-v44.0.0-win32-x64-pdb.zip": "982a91759987ea2f3508b1cabe9bcdc3832d568482861096c722b66f5c41168a",
38
+ "electron-v44.0.0-win32-x64-symbols.zip": "6b0289b13c4d3c3b102b21cfba26c242cd3054e98d75c364bd3e708c7cb0e2b2",
39
+ "electron-v44.0.0-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
40
+ "electron-v44.0.0-win32-x64.zip": "e61aa3bcea8152bc0730abd015e47c032d778a0ef10e2a1c78ba3c4ea47942f9",
41
+ "electron.d.ts": "ddb17a5074762117e25fbe0230df660a68445ec30dcbce841b97be5816f35e81",
42
+ "ffmpeg-v44.0.0-darwin-arm64.zip": "71db03c15596537b13741b5e50438e78c57a50dcb99e86e33051e7b8d2ca677e",
43
+ "ffmpeg-v44.0.0-darwin-x64.zip": "35fea767fc2f4cea3e162ca9f3fb0bdd9331434e803c2cd6bc711a699d40dd1a",
44
+ "ffmpeg-v44.0.0-linux-arm64.zip": "f36eaffcc521a7822f311232f2933db36e838a4f0ad00178cee9b8dcc10e0d47",
45
+ "ffmpeg-v44.0.0-linux-x64.zip": "cdf87f5ca57f7a32a30461d77c141c5b2260cfef286a68ca5c163e18187857db",
46
+ "ffmpeg-v44.0.0-mas-arm64.zip": "fbe810fe05aaa520cd1862c3167fa2b14bf50c57cbbc44a5020535eb25ac5f25",
47
+ "ffmpeg-v44.0.0-mas-x64.zip": "d5bf78be8b306e07d9f4548924f6c02c2b54151ae3b6e003aa3d59f97b2ef55a",
48
+ "ffmpeg-v44.0.0-win32-arm64.zip": "770c6bb9605aed6e5f25e175d591accffa2109d137080d9115f0bbf306492492",
49
+ "ffmpeg-v44.0.0-win32-x64.zip": "bdb92be100dd91bcf370111738e91f53c8a402b671547a2c1a178c1f32c881d4",
50
+ "hunspell_dictionaries.zip": "1fc818d2d14423de4e81a276c259d70e84beb7ca850fe82ad6effbe8c763b8aa",
51
+ "libcxx-objects-v44.0.0-linux-arm64.zip": "c5f81d20410295c7a0a37cad707d5172591e02cbed740dcfabd1f158dfb3474f",
52
+ "libcxx-objects-v44.0.0-linux-x64.zip": "d391dad6c8a587f472ac0d6c1b2cc0ee455551f1820effa9341761eba089f864",
53
+ "libcxx_headers.zip": "5afbdfaea0b36a43f698dff48a10ea59b82d5d2043d2118c94544e3a760fc05a",
54
+ "libcxxabi_headers.zip": "f1129a0445b75092897fc3e036a56e5146132c48c0d6a9f1063f9faa9efa6524",
55
+ "mksnapshot-v44.0.0-darwin-arm64.zip": "5d154900569874a968aff75b4330d8580a20a83503fb5402dce58193411f388e",
56
+ "mksnapshot-v44.0.0-darwin-x64.zip": "f3dbbae31737f91d6e9e0644353c812fe6b88a30d0106b0910352753a4b15bad",
57
+ "mksnapshot-v44.0.0-linux-arm64-x64.zip": "817c76405564dc6078f2dc9cc2bc4bc76dbd09a723bb558a12589776a2a0d214",
58
+ "mksnapshot-v44.0.0-linux-x64.zip": "a06914a0f17ef0d025867607a9e8adc2b68f67b40878dd5bf3da9f00f800ba68",
59
+ "mksnapshot-v44.0.0-mas-arm64.zip": "2720f4b4a9b881a83dc2bbd860bc142bbab4c78ef399680a2e1f72e1e12c4daf",
60
+ "mksnapshot-v44.0.0-mas-x64.zip": "a9bc99f0d90292939e416a52ae516778e543ba1db77f50cb9e3b4f85b10400ba",
61
+ "mksnapshot-v44.0.0-win32-arm64-x64.zip": "61b0654ad7605be376b7e28c2cf34523c9dde68f294f99f1649613bc6f3c8b2b",
62
+ "mksnapshot-v44.0.0-win32-x64.zip": "0570bef64620771d606c3e566cab8aba4fa3131e25da8cc1184351bf246d52c0",
63
+ "xcache-v44.0.0-darwin-arm64.zip": "9e7064e7d839206fdfd654c74feb8a1c63b2228f114d5c4117520876defc97f0",
64
+ "xcache-v44.0.0-darwin-x64.zip": "b489e592b10abe487616c6cb11c8d3fce62e75ec5ab3af31625613026ba6c9d9",
65
+ "xcache-v44.0.0-linux-arm64.zip": "dd7c15fd2c537695452edec382471666b27a340f91e42ed7834dd4b1c1b7a5f0",
66
+ "xcache-v44.0.0-linux-x64.zip": "4b3dede1b53045fe57330af3e125ba17066f01c924e98e8a7c99895a9381e2a8",
67
+ "xcache-v44.0.0-win32-arm64.zip": "fe81db19dff5d3fdd40231553f682d7e7bdd09b81ed8357974332ac438774720",
68
+ "xcache-v44.0.0-win32-x64.zip": "27a7e22ce34f4791aad3671b790c927a6b48470d0ba6f69cd69a1f619607743b"
63
69
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.0.0-beta.5
1
+ // Type definitions for Electron 44.0.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
@@ -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
  /**
@@ -1924,12 +1936,12 @@ declare namespace Electron {
1924
1936
  /**
1925
1937
  * An `Integer` property that returns the badge count for current app. Setting the
1926
1938
  * count to `0` will hide the badge. Setting this with any nonzero integer shows
1927
- * the count on the Dock icon.
1939
+ * the count on the Dock icon on macOS, or on the launcher on Linux.
1928
1940
  *
1929
- * > [!NOTE] You need to ensure that your application has the permission to display
1930
- * 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.
1931
1943
  *
1932
- * @platform darwin
1944
+ * @platform linux,darwin
1933
1945
  */
1934
1946
  badgeCount: number;
1935
1947
  /**
@@ -3432,7 +3444,10 @@ declare namespace Electron {
3432
3444
  * `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
3433
3445
  * mode set (but with a value within the valid range), `normal` will be assumed.
3434
3446
  *
3435
- * @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.
3436
3451
  */
3437
3452
  setProgressBar(progress: number, options?: ProgressBarOptions): void;
3438
3453
  /**
@@ -6252,7 +6267,10 @@ declare namespace Electron {
6252
6267
  * `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
6253
6268
  * mode set (but with a value within the valid range), `normal` will be assumed.
6254
6269
  *
6255
- * @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.
6256
6274
  */
6257
6275
  setProgressBar(progress: number, options?: ProgressBarOptions): void;
6258
6276
  /**
@@ -9600,6 +9618,15 @@ declare namespace Electron {
9600
9618
  * @platform darwin
9601
9619
  */
9602
9620
  accessibilityLabel: string;
9621
+ /**
9622
+ * A `MenuItemBadge` (optional) indicating the badge for the menu item.
9623
+ *
9624
+ * This property can be dynamically changed; setting it to `undefined` removes the
9625
+ * badge. Only available on macOS 14 and up.
9626
+ *
9627
+ * @platform darwin
9628
+ */
9629
+ badge?: MenuItemBadge;
9603
9630
  /**
9604
9631
  * A `boolean` indicating whether the item is checked.
9605
9632
  *
@@ -9725,6 +9752,27 @@ declare namespace Electron {
9725
9752
  visible: boolean;
9726
9753
  }
9727
9754
 
9755
+ interface MenuItemBadge {
9756
+
9757
+ // Docs: https://electronjs.org/docs/api/structures/menu-item-badge
9758
+
9759
+ /**
9760
+ * A custom string to display in the badge. Required for, and only usable with, the
9761
+ * `none` type.
9762
+ */
9763
+ content?: string;
9764
+ /**
9765
+ * The number of items the badge displays. Required for the `alerts`, `updates` and
9766
+ * `new-items` types; cannot be used with `none`.
9767
+ */
9768
+ count?: number;
9769
+ /**
9770
+ * Can be `alerts`, `updates`, `new-items` or `none`. Default is `none`. See
9771
+ * Creating badges of a specific type for further explanation of these types.
9772
+ */
9773
+ type?: ('alerts' | 'updates' | 'new-items' | 'none');
9774
+ }
9775
+
9728
9776
  class MessageChannelMain {
9729
9777
 
9730
9778
  // Docs: https://electronjs.org/docs/api/message-channel-main
@@ -18253,6 +18301,10 @@ declare namespace Electron {
18253
18301
  * greater than 0.
18254
18302
  */
18255
18303
  isBeingCaptured(): boolean;
18304
+ /**
18305
+ * Whether caret browsing is enabled for this page.
18306
+ */
18307
+ isCaretBrowsingEnabled(): boolean;
18256
18308
  /**
18257
18309
  * Whether the renderer process has crashed.
18258
18310
  */
@@ -18488,6 +18540,10 @@ declare namespace Electron {
18488
18540
  * when the page becomes backgrounded. This also affects the Page Visibility API.
18489
18541
  */
18490
18542
  setBackgroundThrottling(allowed: boolean): void;
18543
+ /**
18544
+ * Sets whether caret browsing is enabled on the current web page.
18545
+ */
18546
+ setCaretBrowsingEnabled(enabled: boolean): void;
18491
18547
  /**
18492
18548
  * Changes the title of the DevTools window to `title`. This will only be visible
18493
18549
  * if DevTools is opened in `undocked` or `detach` mode.
@@ -18655,6 +18711,25 @@ declare namespace Electron {
18655
18711
  * affects the Page Visibility API.
18656
18712
  */
18657
18713
  backgroundThrottling: boolean;
18714
+ /**
18715
+ * A `boolean` property that determines whether caret browsing is enabled for this
18716
+ * page.
18717
+ *
18718
+ * When enabled, a movable cursor is placed in the page's text, allowing the user
18719
+ * to navigate and select content with the keyboard. Changes apply to the live page
18720
+ * without reloading it.
18721
+ *
18722
+ * A `<webview>` guest inherits this value from its embedder when it is created and
18723
+ * then tracks it independently, so disabling caret browsing on the embedder leaves
18724
+ * an existing guest enabled.
18725
+ *
18726
+ * While any `WebContents` in the process has caret browsing enabled, assistive
18727
+ * technology is notified process-wide that caret browsing is active, so that
18728
+ * screen readers report the caret's position as it moves. That notification is
18729
+ * only withdrawn once every `WebContents` that enabled caret browsing has either
18730
+ * disabled it or been destroyed.
18731
+ */
18732
+ caretBrowsingEnabled: boolean;
18658
18733
  /**
18659
18734
  * A `Debugger` instance for this webContents.
18660
18735
  *
@@ -22358,6 +22433,13 @@ declare namespace Electron {
22358
22433
  * containing group after the containing group of the item with the specified id.
22359
22434
  */
22360
22435
  afterGroupContaining?: string[];
22436
+ /**
22437
+ * A badge shown alongside the label, either a system-styled count (`alerts`,
22438
+ * `updates`, `new-items`) or a custom string. Only available on macOS 14 and up.
22439
+ *
22440
+ * @platform darwin
22441
+ */
22442
+ badge?: MenuItemBadge;
22361
22443
  }
22362
22444
 
22363
22445
  interface MessageBoxOptions {
@@ -25293,6 +25375,7 @@ declare namespace Electron {
25293
25375
  type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
25294
25376
  type MemoryInfo = Electron.MemoryInfo;
25295
25377
  type MemoryUsageDetails = Electron.MemoryUsageDetails;
25378
+ type MenuItemBadge = Electron.MenuItemBadge;
25296
25379
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
25297
25380
  type MouseInputEvent = Electron.MouseInputEvent;
25298
25381
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
@@ -25705,6 +25788,7 @@ declare namespace Electron {
25705
25788
  type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
25706
25789
  type MemoryInfo = Electron.MemoryInfo;
25707
25790
  type MemoryUsageDetails = Electron.MemoryUsageDetails;
25791
+ type MenuItemBadge = Electron.MenuItemBadge;
25708
25792
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
25709
25793
  type MouseInputEvent = Electron.MouseInputEvent;
25710
25794
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
@@ -26041,6 +26125,7 @@ declare namespace Electron {
26041
26125
  type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
26042
26126
  type MemoryInfo = Electron.MemoryInfo;
26043
26127
  type MemoryUsageDetails = Electron.MemoryUsageDetails;
26128
+ type MenuItemBadge = Electron.MenuItemBadge;
26044
26129
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
26045
26130
  type MouseInputEvent = Electron.MouseInputEvent;
26046
26131
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
@@ -26376,6 +26461,7 @@ declare namespace Electron {
26376
26461
  type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
26377
26462
  type MemoryInfo = Electron.MemoryInfo;
26378
26463
  type MemoryUsageDetails = Electron.MemoryUsageDetails;
26464
+ type MenuItemBadge = Electron.MenuItemBadge;
26379
26465
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
26380
26466
  type MouseInputEvent = Electron.MouseInputEvent;
26381
26467
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
@@ -26807,6 +26893,7 @@ declare namespace Electron {
26807
26893
  type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
26808
26894
  type MemoryInfo = Electron.MemoryInfo;
26809
26895
  type MemoryUsageDetails = Electron.MemoryUsageDetails;
26896
+ type MenuItemBadge = Electron.MenuItemBadge;
26810
26897
  type MimeTypedBuffer = Electron.MimeTypedBuffer;
26811
26898
  type MouseInputEvent = Electron.MouseInputEvent;
26812
26899
  type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron",
3
- "version": "44.0.0-beta.5",
3
+ "version": "44.0.0",
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",