electron 38.0.0-alpha.9 → 38.0.0-beta.11
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 +75 -75
- package/electron.d.ts +107 -6
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v38.0.0-
|
|
3
|
-
"chromedriver-v38.0.0-
|
|
4
|
-
"chromedriver-v38.0.0-
|
|
5
|
-
"chromedriver-v38.0.0-
|
|
6
|
-
"chromedriver-v38.0.0-
|
|
7
|
-
"chromedriver-v38.0.0-
|
|
8
|
-
"chromedriver-v38.0.0-
|
|
9
|
-
"chromedriver-v38.0.0-
|
|
10
|
-
"chromedriver-v38.0.0-
|
|
11
|
-
"chromedriver-v38.0.0-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v38.0.0-
|
|
14
|
-
"electron-v38.0.0-
|
|
15
|
-
"electron-v38.0.0-
|
|
16
|
-
"electron-v38.0.0-
|
|
17
|
-
"electron-v38.0.0-
|
|
18
|
-
"electron-v38.0.0-
|
|
19
|
-
"electron-v38.0.0-
|
|
20
|
-
"electron-v38.0.0-
|
|
21
|
-
"electron-v38.0.0-
|
|
22
|
-
"electron-v38.0.0-
|
|
23
|
-
"electron-v38.0.0-
|
|
24
|
-
"electron-v38.0.0-
|
|
25
|
-
"electron-v38.0.0-
|
|
26
|
-
"electron-v38.0.0-
|
|
27
|
-
"electron-v38.0.0-
|
|
28
|
-
"electron-v38.0.0-
|
|
29
|
-
"electron-v38.0.0-
|
|
30
|
-
"electron-v38.0.0-
|
|
31
|
-
"electron-v38.0.0-
|
|
32
|
-
"electron-v38.0.0-
|
|
33
|
-
"electron-v38.0.0-
|
|
34
|
-
"electron-v38.0.0-
|
|
35
|
-
"electron-v38.0.0-
|
|
36
|
-
"electron-v38.0.0-
|
|
37
|
-
"electron-v38.0.0-
|
|
38
|
-
"electron-v38.0.0-
|
|
39
|
-
"electron-v38.0.0-
|
|
40
|
-
"electron-v38.0.0-
|
|
41
|
-
"electron-v38.0.0-
|
|
42
|
-
"electron-v38.0.0-
|
|
43
|
-
"electron-v38.0.0-
|
|
44
|
-
"electron-v38.0.0-
|
|
45
|
-
"electron-v38.0.0-
|
|
46
|
-
"electron-v38.0.0-
|
|
47
|
-
"electron-v38.0.0-
|
|
48
|
-
"electron-v38.0.0-
|
|
49
|
-
"electron-v38.0.0-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v38.0.0-
|
|
52
|
-
"ffmpeg-v38.0.0-
|
|
53
|
-
"ffmpeg-v38.0.0-
|
|
54
|
-
"ffmpeg-v38.0.0-
|
|
55
|
-
"ffmpeg-v38.0.0-
|
|
56
|
-
"ffmpeg-v38.0.0-
|
|
57
|
-
"ffmpeg-v38.0.0-
|
|
58
|
-
"ffmpeg-v38.0.0-
|
|
59
|
-
"ffmpeg-v38.0.0-
|
|
60
|
-
"ffmpeg-v38.0.0-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v38.0.0-
|
|
63
|
-
"libcxx-objects-v38.0.0-
|
|
64
|
-
"libcxx-objects-v38.0.0-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v38.0.0-
|
|
68
|
-
"mksnapshot-v38.0.0-
|
|
69
|
-
"mksnapshot-v38.0.0-
|
|
70
|
-
"mksnapshot-v38.0.0-
|
|
71
|
-
"mksnapshot-v38.0.0-
|
|
72
|
-
"mksnapshot-v38.0.0-
|
|
73
|
-
"mksnapshot-v38.0.0-
|
|
74
|
-
"mksnapshot-v38.0.0-
|
|
75
|
-
"mksnapshot-v38.0.0-
|
|
76
|
-
"mksnapshot-v38.0.0-
|
|
2
|
+
"chromedriver-v38.0.0-beta.11-darwin-arm64.zip": "ed19a43c49f9e553bd47b69d98c3b5f5b8d7938c6d9d989846e20bc9a111bb33",
|
|
3
|
+
"chromedriver-v38.0.0-beta.11-darwin-x64.zip": "45783aa967b119ead26aa0f45ba4b3ed9f9821692470a5b25e62340bb68bd4c9",
|
|
4
|
+
"chromedriver-v38.0.0-beta.11-linux-arm64.zip": "e5bb5b82f0e0e85dc7d05a8ff687c132385008bb109ac2d9a4f3b690270ca1c1",
|
|
5
|
+
"chromedriver-v38.0.0-beta.11-linux-armv7l.zip": "760b5d68492bda1d2b00ca44899bbc175b28988c07e7560c5a2af6b516de2efc",
|
|
6
|
+
"chromedriver-v38.0.0-beta.11-linux-x64.zip": "208f14a05a4fbf9a05370c97b7a8cebc729dde731b9dfe93f2c911b9c1ab20e2",
|
|
7
|
+
"chromedriver-v38.0.0-beta.11-mas-arm64.zip": "5d573917faf614378fdd52d8423ecb6d245fb61e7533b8198ed98c9e496369f8",
|
|
8
|
+
"chromedriver-v38.0.0-beta.11-mas-x64.zip": "d0bc3f9a994d237b6f6c1040fc98b820ae9e8784decb86e2daf4f5cf1baef0dd",
|
|
9
|
+
"chromedriver-v38.0.0-beta.11-win32-arm64.zip": "bcc3855830454726358753ecb5a2fc005db71b8d96ad1e2e2154f565f982dfec",
|
|
10
|
+
"chromedriver-v38.0.0-beta.11-win32-ia32.zip": "89b3463ee2afa938078f66f03b313dab03a8281bf4c5e26f12beb1180abb67dc",
|
|
11
|
+
"chromedriver-v38.0.0-beta.11-win32-x64.zip": "f44f1c8cfb164bbd6d93b00182a86044bebd2487148344e32f9248dfdeae7b80",
|
|
12
|
+
"electron-api.json": "c5d9177338a8a451fb9d975ee0b4eb21c8593c7add39bc84f1ea4059de38eb86",
|
|
13
|
+
"electron-v38.0.0-beta.11-darwin-arm64-dsym-snapshot.zip": "91f41291db1171cc27c8f082a8ab1efff2148e29e195e077b1d6b97f53e087d5",
|
|
14
|
+
"electron-v38.0.0-beta.11-darwin-arm64-dsym.zip": "a2810263cc237d227e3f9921d9e70a54c1a85524a274c9368877eeeb0d232a7b",
|
|
15
|
+
"electron-v38.0.0-beta.11-darwin-arm64-symbols.zip": "8f46c3a84865fbd1ace7545628471975f94d2629a5f66527244221f2a7ecaded",
|
|
16
|
+
"electron-v38.0.0-beta.11-darwin-arm64.zip": "82db441beb58142323ac3b1caf05f5559e387ed6b0a78a83058aa6c29b05920f",
|
|
17
|
+
"electron-v38.0.0-beta.11-darwin-x64-dsym-snapshot.zip": "59d374eedd407661cc6b32f1a931d46427c6e5a68a93e480e0985481207ad7c8",
|
|
18
|
+
"electron-v38.0.0-beta.11-darwin-x64-dsym.zip": "42b5757fb03f15349080c84d344f90f5f4dbcdb3e73e63275dddb5c508871ad9",
|
|
19
|
+
"electron-v38.0.0-beta.11-darwin-x64-symbols.zip": "c7a146e02bea6c450e96559cfe87f3fca2c9d33067464bb2cde02f2422784ed5",
|
|
20
|
+
"electron-v38.0.0-beta.11-darwin-x64.zip": "7267751ef9a3bb8494d4f1b52b3102a07769bd20df62eff9740142d709c686a3",
|
|
21
|
+
"electron-v38.0.0-beta.11-linux-arm64-debug.zip": "8165d5c71c460c07d26766013d5d006ef35e83280c4fd66837d208564ddb2bcc",
|
|
22
|
+
"electron-v38.0.0-beta.11-linux-arm64-symbols.zip": "6e5ad42c68cf8fc72f32c7e82a50bec28313a66a9808de9d3b9f66e879fc5c3d",
|
|
23
|
+
"electron-v38.0.0-beta.11-linux-arm64.zip": "019139234056bbf083d02f570a68337b122f9fe116103d7e2e4e6f2dbe6a1e44",
|
|
24
|
+
"electron-v38.0.0-beta.11-linux-armv7l-debug.zip": "b434ecba274b49669182b1209cfa51f1f2eb4054d7496928cc3857f841174472",
|
|
25
|
+
"electron-v38.0.0-beta.11-linux-armv7l-symbols.zip": "e061b0e4b8195a9a3528320c1e4401af63a236cc1347b7158edb24df98e91d82",
|
|
26
|
+
"electron-v38.0.0-beta.11-linux-armv7l.zip": "8d49b3c7344db6e918fef57764ae939fd4b704a57ef635f712bcf29b27d26f87",
|
|
27
|
+
"electron-v38.0.0-beta.11-linux-x64-debug.zip": "06bc5fda327779a3cd3402727c53ce5618f6bf4bab2f47e055e401179e22019e",
|
|
28
|
+
"electron-v38.0.0-beta.11-linux-x64-symbols.zip": "fc59c9de9c74f75ca779f4130a8b5ee8130d3ba38ada8eed717fa28775b96167",
|
|
29
|
+
"electron-v38.0.0-beta.11-linux-x64.zip": "5bb28ff9cd01cff294300a951058398bcf976628b64d2e701d780d64b130a91e",
|
|
30
|
+
"electron-v38.0.0-beta.11-mas-arm64-dsym-snapshot.zip": "604f592d86e3ef2946ecbe371c0acbaa1278d43e960ba5b24a28e969cf6e86bc",
|
|
31
|
+
"electron-v38.0.0-beta.11-mas-arm64-dsym.zip": "cd6238228a6f7425ab49720dd010bfb7387296983bf410acffcf08b92f554ea8",
|
|
32
|
+
"electron-v38.0.0-beta.11-mas-arm64-symbols.zip": "879db0127659708845e2337847f203b10d889f9912a90933eac0a76220d46403",
|
|
33
|
+
"electron-v38.0.0-beta.11-mas-arm64.zip": "7f56d5d142acdd2c04290eec1d0855f0f783899d0a37089db40eed18737d32c8",
|
|
34
|
+
"electron-v38.0.0-beta.11-mas-x64-dsym-snapshot.zip": "cbfd4aa7b104c1aa53ecef4a9a0bd55ab04397a8df9555d1383512cabc84b994",
|
|
35
|
+
"electron-v38.0.0-beta.11-mas-x64-dsym.zip": "29ceaca444f47b23c376c6fb2eb9d4400e3c1f5cd08b5c0c2f842a8ccec85702",
|
|
36
|
+
"electron-v38.0.0-beta.11-mas-x64-symbols.zip": "e0dad3171e7ffbb7a4fc7508e1335d503a1748b9567869912724858541fd66e2",
|
|
37
|
+
"electron-v38.0.0-beta.11-mas-x64.zip": "f4cd9876d6f25c8ae77fdc03d5f4775271855edf0846372d9595d7cf58c08aac",
|
|
38
|
+
"electron-v38.0.0-beta.11-win32-arm64-pdb.zip": "571f9f61a003c660553211f164ea8b89e869bbac67e2112ca5fef0952867f2b2",
|
|
39
|
+
"electron-v38.0.0-beta.11-win32-arm64-symbols.zip": "0a3431b40b1a26b066649c5965d18e2df53c88f54b40135236e7e1e5fed3072d",
|
|
40
|
+
"electron-v38.0.0-beta.11-win32-arm64-toolchain-profile.zip": "74e88ea46bb62f4d8698b1058963568b8ccd9debbdd5d755dfdf4303874446d5",
|
|
41
|
+
"electron-v38.0.0-beta.11-win32-arm64.zip": "2da83d173003909c709f2399e3d54ab0cd4b66060fa98b92e2652e5d6cbcb2e9",
|
|
42
|
+
"electron-v38.0.0-beta.11-win32-ia32-pdb.zip": "71b1a74344732963422f31aa0b5357cd40e9dde21b011347d0862b5206289694",
|
|
43
|
+
"electron-v38.0.0-beta.11-win32-ia32-symbols.zip": "1567cca14cc65baea210755d5b26603a015619e18e8f2be661f6cea2abddb39a",
|
|
44
|
+
"electron-v38.0.0-beta.11-win32-ia32-toolchain-profile.zip": "74e88ea46bb62f4d8698b1058963568b8ccd9debbdd5d755dfdf4303874446d5",
|
|
45
|
+
"electron-v38.0.0-beta.11-win32-ia32.zip": "28cad17fc57d76d83c3cb8152b56caaba21eebfe9740ec4dff8fb34afbd32710",
|
|
46
|
+
"electron-v38.0.0-beta.11-win32-x64-pdb.zip": "10737fa9a11ea19762d96dc4572ed1e8f360ce87a75a71e5565e1b780045091b",
|
|
47
|
+
"electron-v38.0.0-beta.11-win32-x64-symbols.zip": "7db4e4ccfaf68ebe8bda9fd8fe648b1fbb777cc1ec1f06b6779df0c4999b25cf",
|
|
48
|
+
"electron-v38.0.0-beta.11-win32-x64-toolchain-profile.zip": "74e88ea46bb62f4d8698b1058963568b8ccd9debbdd5d755dfdf4303874446d5",
|
|
49
|
+
"electron-v38.0.0-beta.11-win32-x64.zip": "dd85b68ca02d0ecef2b2c2d17d6d0688fd6a9a4856282a3e77e2a7f89f37ae14",
|
|
50
|
+
"electron.d.ts": "1aa74540e441af00e5813bdbacf26c4c10555c08cf5fd9a94101f2c8413516af",
|
|
51
|
+
"ffmpeg-v38.0.0-beta.11-darwin-arm64.zip": "199e1f70e152fc4781b62b9d19f2ac0999fc3b50450461b284f5e37987d30ef0",
|
|
52
|
+
"ffmpeg-v38.0.0-beta.11-darwin-x64.zip": "80044d5584689fb2f74abd8f5a6dcfd0a94be5e139453d96314522a90b55d666",
|
|
53
|
+
"ffmpeg-v38.0.0-beta.11-linux-arm64.zip": "c93699ce1c7944f94bbcc761b93367768b6c9e45c9fb48eec3cc5198cb7fc6e4",
|
|
54
|
+
"ffmpeg-v38.0.0-beta.11-linux-armv7l.zip": "41cb057e1b25203202d0b067bce4a9f554f47f85e674c888d890ef2b1c473991",
|
|
55
|
+
"ffmpeg-v38.0.0-beta.11-linux-x64.zip": "bb741cab02f42f0046ab0d38d2f52d5627a980d2e533609c83d451da5ef1d972",
|
|
56
|
+
"ffmpeg-v38.0.0-beta.11-mas-arm64.zip": "199e1f70e152fc4781b62b9d19f2ac0999fc3b50450461b284f5e37987d30ef0",
|
|
57
|
+
"ffmpeg-v38.0.0-beta.11-mas-x64.zip": "80044d5584689fb2f74abd8f5a6dcfd0a94be5e139453d96314522a90b55d666",
|
|
58
|
+
"ffmpeg-v38.0.0-beta.11-win32-arm64.zip": "7e645eeb57d9b110ebc812934c9120d677bf9e742db72cbf6c31a90384c51c36",
|
|
59
|
+
"ffmpeg-v38.0.0-beta.11-win32-ia32.zip": "24c359dc86ac674a6b6ba7dfba03910ebbc50ab8fff2aa897038ab90f5b852b9",
|
|
60
|
+
"ffmpeg-v38.0.0-beta.11-win32-x64.zip": "acc2a8cfaab5a34afdcf8bccdc695dbd66222a55dceaaa505d3b7511dd77d1d7",
|
|
61
|
+
"hunspell_dictionaries.zip": "1cc418ed5cba1cf10c767cd43f288395a155edb7f035f0bdd8737798e6d9dab8",
|
|
62
|
+
"libcxx-objects-v38.0.0-beta.11-linux-arm64.zip": "0d70f045f4f80e237940e1419e73085fb7c4ff3e9748713e5cea72ff6bd0e7f8",
|
|
63
|
+
"libcxx-objects-v38.0.0-beta.11-linux-armv7l.zip": "d988bc0dc4fbacf10d3bc83aa9fc19eaab6ec07a1b867dd716790b26c90418ec",
|
|
64
|
+
"libcxx-objects-v38.0.0-beta.11-linux-x64.zip": "262518a420e8aa2dff1ddb5b96da8d7d37f953f6e3d041ab19dd5da2307c0d5c",
|
|
65
|
+
"libcxx_headers.zip": "b597654bc9cfc5aba3464898b0bbd839ce12f86be0b9b3e6248c65576c43ad3c",
|
|
66
|
+
"libcxxabi_headers.zip": "de70af1f51d8627eb8ec3b257944deacde745bc54cd0c9927438db93f837a1e5",
|
|
67
|
+
"mksnapshot-v38.0.0-beta.11-darwin-arm64.zip": "244f88b539e1ea025bbba1bcfee137f4bd0017322fea9a4951a4f8d00b37be7d",
|
|
68
|
+
"mksnapshot-v38.0.0-beta.11-darwin-x64.zip": "9a409f5f77832bbcfc9b567e84f06b269f1d630b5650d8cd5a19e506dbcd3c93",
|
|
69
|
+
"mksnapshot-v38.0.0-beta.11-linux-arm64-x64.zip": "3b3f221f5a74e595149e348cb6766e11f41dfc35185b2006bdd1948d874598ab",
|
|
70
|
+
"mksnapshot-v38.0.0-beta.11-linux-armv7l-x64.zip": "96629f5c1273466248e4ec1ad3727d61b6459a0f47110f37cc1753f07c92a847",
|
|
71
|
+
"mksnapshot-v38.0.0-beta.11-linux-x64.zip": "8e0fc5702ca61ca28f9d662f736825e0afc295190f19599c71b6a61fa9b8f8cc",
|
|
72
|
+
"mksnapshot-v38.0.0-beta.11-mas-arm64.zip": "b34d2c24c7999d6518b1bb62de636835e6b8384f0435133d32b1b47a90a7d18b",
|
|
73
|
+
"mksnapshot-v38.0.0-beta.11-mas-x64.zip": "99a10c9adbab4ac7de829f320ca6256a663c50016330de19cd3e76690881578d",
|
|
74
|
+
"mksnapshot-v38.0.0-beta.11-win32-arm64-x64.zip": "a3a55e52f12dcb227c8efd7c9182f3ca8138fb7bc0ebf6f4c68c5c1d824af9bc",
|
|
75
|
+
"mksnapshot-v38.0.0-beta.11-win32-ia32.zip": "770048b72cc153de1bb54a3a2689baeec623d992b2a0f082cbbd7e7759dc521e",
|
|
76
|
+
"mksnapshot-v38.0.0-beta.11-win32-x64.zip": "1b4a5af4d5ad1186d3cb020965fc3a52aaf445a378a858d45d5b8fd5221e5641"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 38.0.0-
|
|
1
|
+
// Type definitions for Electron 38.0.0-beta.11
|
|
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
|
|
@@ -1219,7 +1219,7 @@ declare namespace Electron {
|
|
|
1219
1219
|
* called first, a default log directory will be created equivalent to calling
|
|
1220
1220
|
* `app.setAppLogsPath()` without a `path` parameter.
|
|
1221
1221
|
*/
|
|
1222
|
-
getPath(name: 'home' | 'appData' | 'userData' | 'sessionData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'recent' | 'logs' | 'crashDumps'): string;
|
|
1222
|
+
getPath(name: 'home' | 'appData' | 'assets' | 'userData' | 'sessionData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'recent' | 'logs' | 'crashDumps'): string;
|
|
1223
1223
|
/**
|
|
1224
1224
|
* The user's preferred system languages from most preferred to least preferred,
|
|
1225
1225
|
* including the country codes if applicable. A user can modify and add to this
|
|
@@ -1256,6 +1256,12 @@ declare namespace Electron {
|
|
|
1256
1256
|
* that do not have associated countries in the language name.
|
|
1257
1257
|
*/
|
|
1258
1258
|
getPreferredSystemLanguages(): string[];
|
|
1259
|
+
/**
|
|
1260
|
+
* An array containing documents in the most recent documents list.
|
|
1261
|
+
*
|
|
1262
|
+
* @platform darwin,win32
|
|
1263
|
+
*/
|
|
1264
|
+
getRecentDocuments(): string[];
|
|
1259
1265
|
/**
|
|
1260
1266
|
* The current system locale. On Windows and Linux, it is fetched using Chromium's
|
|
1261
1267
|
* `i18n` library. On macOS, `[NSLocale currentLocale]` is used instead. To get the
|
|
@@ -2575,6 +2581,19 @@ declare namespace Electron {
|
|
|
2575
2581
|
* Focuses on the window.
|
|
2576
2582
|
*/
|
|
2577
2583
|
focus(): void;
|
|
2584
|
+
/**
|
|
2585
|
+
* the system accent color and highlighting of active window border in Hex RGB
|
|
2586
|
+
* format.
|
|
2587
|
+
*
|
|
2588
|
+
* If a color has been set for the window that differs from the system accent
|
|
2589
|
+
* color, the window accent color will be returned. Otherwise, a boolean will be
|
|
2590
|
+
* returned, with `true` indicating that the window uses the global system accent
|
|
2591
|
+
* color, and `false` indicating that accent color highlighting is disabled for
|
|
2592
|
+
* this window.
|
|
2593
|
+
*
|
|
2594
|
+
* @platform win32
|
|
2595
|
+
*/
|
|
2596
|
+
getAccentColor(): (string) | (boolean);
|
|
2578
2597
|
/**
|
|
2579
2598
|
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
2580
2599
|
*
|
|
@@ -2934,6 +2953,23 @@ declare namespace Electron {
|
|
|
2934
2953
|
* @platform darwin
|
|
2935
2954
|
*/
|
|
2936
2955
|
selectPreviousTab(): void;
|
|
2956
|
+
/**
|
|
2957
|
+
* Sets the system accent color and highlighting of active window border.
|
|
2958
|
+
*
|
|
2959
|
+
* The `accentColor` parameter accepts the following values:
|
|
2960
|
+
*
|
|
2961
|
+
* * **Color string** - Sets a custom accent color using standard CSS color formats
|
|
2962
|
+
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in RGBA/HSLA formats
|
|
2963
|
+
* are ignored and the color is treated as fully opaque.
|
|
2964
|
+
* * **`true`** - Uses the system's default accent color from user preferences in
|
|
2965
|
+
* System Settings.
|
|
2966
|
+
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
2967
|
+
*
|
|
2968
|
+
* Examples:
|
|
2969
|
+
*
|
|
2970
|
+
* @platform win32
|
|
2971
|
+
*/
|
|
2972
|
+
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
2937
2973
|
/**
|
|
2938
2974
|
* Sets whether the window should show always on top of other windows. After
|
|
2939
2975
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -5216,6 +5252,19 @@ declare namespace Electron {
|
|
|
5216
5252
|
*/
|
|
5217
5253
|
focus(): void;
|
|
5218
5254
|
focusOnWebView(): void;
|
|
5255
|
+
/**
|
|
5256
|
+
* the system accent color and highlighting of active window border in Hex RGB
|
|
5257
|
+
* format.
|
|
5258
|
+
*
|
|
5259
|
+
* If a color has been set for the window that differs from the system accent
|
|
5260
|
+
* color, the window accent color will be returned. Otherwise, a boolean will be
|
|
5261
|
+
* returned, with `true` indicating that the window uses the global system accent
|
|
5262
|
+
* color, and `false` indicating that accent color highlighting is disabled for
|
|
5263
|
+
* this window.
|
|
5264
|
+
*
|
|
5265
|
+
* @platform win32
|
|
5266
|
+
*/
|
|
5267
|
+
getAccentColor(): (string) | (boolean);
|
|
5219
5268
|
/**
|
|
5220
5269
|
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
5221
5270
|
*
|
|
@@ -5635,6 +5684,23 @@ declare namespace Electron {
|
|
|
5635
5684
|
* @platform darwin
|
|
5636
5685
|
*/
|
|
5637
5686
|
selectPreviousTab(): void;
|
|
5687
|
+
/**
|
|
5688
|
+
* Sets the system accent color and highlighting of active window border.
|
|
5689
|
+
*
|
|
5690
|
+
* The `accentColor` parameter accepts the following values:
|
|
5691
|
+
*
|
|
5692
|
+
* * **Color string** - Sets a custom accent color using standard CSS color formats
|
|
5693
|
+
* (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in RGBA/HSLA formats
|
|
5694
|
+
* are ignored and the color is treated as fully opaque.
|
|
5695
|
+
* * **`true`** - Uses the system's default accent color from user preferences in
|
|
5696
|
+
* System Settings.
|
|
5697
|
+
* * **`false`** - Explicitly disables accent color highlighting for the window.
|
|
5698
|
+
*
|
|
5699
|
+
* Examples:
|
|
5700
|
+
*
|
|
5701
|
+
* @platform win32
|
|
5702
|
+
*/
|
|
5703
|
+
setAccentColor(accentColor: (boolean) | (string)): void;
|
|
5638
5704
|
/**
|
|
5639
5705
|
* Sets whether the window should show always on top of other windows. After
|
|
5640
5706
|
* setting this, the window is still a normal window, not a toolbox window which
|
|
@@ -14485,6 +14551,13 @@ declare namespace Electron {
|
|
|
14485
14551
|
* @platform darwin,win32
|
|
14486
14552
|
*/
|
|
14487
14553
|
getBounds(): Rectangle;
|
|
14554
|
+
/**
|
|
14555
|
+
* The GUID used to uniquely identify the tray icon and allow it to retain its
|
|
14556
|
+
* position between relaunches, or null if none is set.
|
|
14557
|
+
*
|
|
14558
|
+
* @platform darwin,win32
|
|
14559
|
+
*/
|
|
14560
|
+
getGUID(): (string) | (null);
|
|
14488
14561
|
/**
|
|
14489
14562
|
* Whether double click events will be ignored.
|
|
14490
14563
|
*
|
|
@@ -17708,23 +17781,25 @@ declare namespace Electron {
|
|
|
17708
17781
|
* A child of `webFrame` with the supplied `name`, `null` would be returned if
|
|
17709
17782
|
* there's no such frame or if the frame is not in the current renderer process.
|
|
17710
17783
|
*/
|
|
17711
|
-
findFrameByName(name: string): WebFrame;
|
|
17784
|
+
findFrameByName(name: string): (WebFrame) | (null);
|
|
17712
17785
|
/**
|
|
17713
17786
|
* that has the supplied `routingId`, `null` if not found.
|
|
17714
17787
|
*
|
|
17788
|
+
* **Deprecated:** Use the new `webFrame.findFrameByToken` API.
|
|
17789
|
+
*
|
|
17715
17790
|
* @deprecated
|
|
17716
17791
|
*/
|
|
17717
|
-
findFrameByRoutingId(routingId: number): WebFrame;
|
|
17792
|
+
findFrameByRoutingId(routingId: number): (WebFrame) | (null);
|
|
17718
17793
|
/**
|
|
17719
17794
|
* that has the supplied `frameToken`, `null` if not found.
|
|
17720
17795
|
*/
|
|
17721
|
-
findFrameByToken(frameToken: string): WebFrame;
|
|
17796
|
+
findFrameByToken(frameToken: string): (WebFrame) | (null);
|
|
17722
17797
|
/**
|
|
17723
17798
|
* The frame element in `webFrame's` document selected by `selector`, `null` would
|
|
17724
17799
|
* be returned if `selector` does not select a frame or if the frame is not in the
|
|
17725
17800
|
* current renderer process.
|
|
17726
17801
|
*/
|
|
17727
|
-
getFrameForSelector(selector: string): WebFrame;
|
|
17802
|
+
getFrameForSelector(selector: string): (WebFrame) | (null);
|
|
17728
17803
|
/**
|
|
17729
17804
|
* * `images` MemoryUsageDetails
|
|
17730
17805
|
* * `scripts` MemoryUsageDetails
|
|
@@ -17862,6 +17937,8 @@ declare namespace Electron {
|
|
|
17862
17937
|
* Distinct WebFrame instances that refer to the same underlying frame will have
|
|
17863
17938
|
* the same `routingId`.
|
|
17864
17939
|
*
|
|
17940
|
+
* **Deprecated:** Use the new `webFrame.frameToken` API.
|
|
17941
|
+
*
|
|
17865
17942
|
* @deprecated
|
|
17866
17943
|
*/
|
|
17867
17944
|
readonly routingId: number;
|
|
@@ -17878,6 +17955,11 @@ declare namespace Electron {
|
|
|
17878
17955
|
|
|
17879
17956
|
// Docs: https://electronjs.org/docs/api/web-frame-main
|
|
17880
17957
|
|
|
17958
|
+
/**
|
|
17959
|
+
* A frame with the given process and frame token, or `null` if there is no
|
|
17960
|
+
* WebFrameMain associated with the given IDs.
|
|
17961
|
+
*/
|
|
17962
|
+
static fromFrameToken(processId: number, frameToken: string): (WebFrameMain) | (null);
|
|
17881
17963
|
/**
|
|
17882
17964
|
* A frame with the given process and routing IDs, or `undefined` if there is no
|
|
17883
17965
|
* WebFrameMain associated with the given IDs.
|
|
@@ -22237,6 +22319,20 @@ declare namespace Electron {
|
|
|
22237
22319
|
* The total amount of memory not being used by applications or disk cache.
|
|
22238
22320
|
*/
|
|
22239
22321
|
free: number;
|
|
22322
|
+
/**
|
|
22323
|
+
* The amount of memory that currently has been paged out to storage. Includes
|
|
22324
|
+
* memory for file caches, network buffers, and other system services.
|
|
22325
|
+
*
|
|
22326
|
+
* @platform darwin
|
|
22327
|
+
*/
|
|
22328
|
+
fileBacked: number;
|
|
22329
|
+
/**
|
|
22330
|
+
* The amount of memory that is marked as "purgeable". The system can reclaim it if
|
|
22331
|
+
* memory pressure increases.
|
|
22332
|
+
*
|
|
22333
|
+
* @platform darwin
|
|
22334
|
+
*/
|
|
22335
|
+
purgeable: number;
|
|
22240
22336
|
/**
|
|
22241
22337
|
* The total amount of swap memory in Kilobytes available to the system.
|
|
22242
22338
|
*
|
|
@@ -25201,6 +25297,11 @@ declare namespace NodeJS {
|
|
|
25201
25297
|
* to the system.
|
|
25202
25298
|
* * `free` Integer - The total amount of memory not being used by applications or
|
|
25203
25299
|
* disk cache.
|
|
25300
|
+
* * `fileBacked` Integer _macOS_ - The amount of memory that currently has been
|
|
25301
|
+
* paged out to storage. Includes memory for file caches, network buffers, and
|
|
25302
|
+
* other system services.
|
|
25303
|
+
* * `purgeable` Integer _macOS_ - The amount of memory that is marked as
|
|
25304
|
+
* "purgeable". The system can reclaim it if memory pressure increases.
|
|
25204
25305
|
* * `swapTotal` Integer _Windows_ _Linux_ - The total amount of swap memory in
|
|
25205
25306
|
* Kilobytes available to the system.
|
|
25206
25307
|
* * `swapFree` Integer _Windows_ _Linux_ - The free amount of swap memory in
|
package/package.json
CHANGED