Skip to content

Commit 3c04c4b

Browse files
committed
Updated for v38.0.0-beta.11+wvcus
1 parent 28c7c58 commit 3c04c4b

File tree

3 files changed

+127
-26
lines changed

3 files changed

+127
-26
lines changed

checksums.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"electron-api.json": "cbf714b6ddf5b15cf93ca6e610bb00ab0252bd73f19f600a8ead7c405be2bf72",
3-
"electron-v38.0.0-alpha.12+wvcus-darwin-arm64-dsym.zip": "8d5ccd11b7de42a2ef2820fa822c61edb44d53f39657e506eac5515aaf38401a",
4-
"electron-v38.0.0-alpha.12+wvcus-darwin-arm64-symbols.zip": "7174693c077b2e33b175331a42c8896385004c543f7ef5509af93d404cde7836",
5-
"electron-v38.0.0-alpha.12+wvcus-darwin-arm64.zip": "0eca168621dbb4f13188625f2b0e1bc33ea3dba220e84337e6181e75f2c94c0f",
6-
"electron-v38.0.0-alpha.12+wvcus-darwin-x64-dsym.zip": "d2cf606c1d4af87dc5cb38226d177ddf58deb036a1d4e2c3eb88f79274f7f7ae",
7-
"electron-v38.0.0-alpha.12+wvcus-darwin-x64-symbols.zip": "a0730ebf48d363dc8122fe618e0dfab67fd1fbd395392bd7d26adb4aeb13801d",
8-
"electron-v38.0.0-alpha.12+wvcus-darwin-x64.zip": "03a4ddddf864f821248425477dc3552be5063ce2a47e4621f58dcf216cca4871",
9-
"electron-v38.0.0-alpha.12+wvcus-linux-x64-symbols.zip": "6304744ad1144ee59b978866b90a68441f9bdc8f8f9b67284aec67abf9317479",
10-
"electron-v38.0.0-alpha.12+wvcus-linux-x64.zip": "83a080fa967bcfa579c3e1a5eece1ecb26c7ed52afc7c9f48842ae2077dc499f",
11-
"electron-v38.0.0-alpha.12+wvcus-win32-arm64-pdb.zip": "ee1bb8e5eb3566fab8b8f8c811668741a8286203376bc05305d2c7ca22133392",
12-
"electron-v38.0.0-alpha.12+wvcus-win32-arm64-symbols.zip": "074998e6283d6558fd9e0331be876650c2bda7c01df664ab822ebdbcbb1c8cb8",
13-
"electron-v38.0.0-alpha.12+wvcus-win32-arm64.zip": "8a03efee8777d196da3f10df693546df42108ebadaaffcae156618e78c93faaa",
14-
"electron-v38.0.0-alpha.12+wvcus-win32-ia32-pdb.zip": "89944e81ec0f6fc282abf7b39f05cca8192c575666a698fe467330bfcfcf8fc0",
15-
"electron-v38.0.0-alpha.12+wvcus-win32-ia32-symbols.zip": "8af8ad5da8077181bb6ac9629673ad89cfcc5559fc0bd207300769194c418c1e",
16-
"electron-v38.0.0-alpha.12+wvcus-win32-ia32.zip": "3ccb10dce11754b780cc96ee5f641214c578795c2fa6331699a6c9593fcf83bd",
17-
"electron-v38.0.0-alpha.12+wvcus-win32-x64-pdb.zip": "1c5598c37706c02cbc5e7a3b0ed3f13827c586c36e945ee5884197c1b4629b5f",
18-
"electron-v38.0.0-alpha.12+wvcus-win32-x64-symbols.zip": "95a38830e6a9780480ac1666fca41d35b0aacd56103aed3f1a63867283df1e61",
19-
"electron-v38.0.0-alpha.12+wvcus-win32-x64.zip": "3bb7dddaaefddd94dde4ee33dcbf475a84f80745a24f212e37a3c04b768cdb88",
20-
"electron.d.ts": "a7fae98c56d94c948702c7d87d26e90797868fdd568d281bf3b564e986cc065e"
2+
"electron-api.json": "fb63352958b8c7a74f424669ff732a0a9844be92c0500b90136b0f0ec03929b3",
3+
"electron-v38.0.0-beta.11+wvcus-darwin-arm64-dsym.zip": "817aed322c7d09e7e40720d22ca3f82c89e103ac97981d5e45f8c64c457e1415",
4+
"electron-v38.0.0-beta.11+wvcus-darwin-arm64-symbols.zip": "54fd3c3151bbe06173553181e20d6791aef6a7b30f172af763b8ad725e9b7e32",
5+
"electron-v38.0.0-beta.11+wvcus-darwin-arm64.zip": "3c0c52e5667766ca55d84c86d636aac017b9e9ac768892a3314ef621a09fd08c",
6+
"electron-v38.0.0-beta.11+wvcus-darwin-x64-dsym.zip": "8b0a9b04ab5d530faf5a73cec18b70dc4f4fa6e1022a31b5b624492dd61aea5b",
7+
"electron-v38.0.0-beta.11+wvcus-darwin-x64-symbols.zip": "4281ca6889524040e7cb769140de7596584f4230d910ba9a2cc4faa024e548e4",
8+
"electron-v38.0.0-beta.11+wvcus-darwin-x64.zip": "3d84bf42bce33ebee1a786390f78c258895e4251317b385b631a256be5d99913",
9+
"electron-v38.0.0-beta.11+wvcus-linux-x64-symbols.zip": "0a8f603c292f8e08235b61e84d7ac3fa2d26233cb78dd8f609da60efddb72240",
10+
"electron-v38.0.0-beta.11+wvcus-linux-x64.zip": "5ee71120e3cab10d248409947c7063d14a21f2dbec7556b6f89886f3e1027f20",
11+
"electron-v38.0.0-beta.11+wvcus-win32-arm64-pdb.zip": "0b0ba58b3b943e61d893fd2bac9eeb4f68b2be0fcfa1a37b0f73d06fe6b67216",
12+
"electron-v38.0.0-beta.11+wvcus-win32-arm64-symbols.zip": "63d94d9c3b44a2eb576f49e9d90cf2b0afec3d8287d2d02e6e425964aaff5eab",
13+
"electron-v38.0.0-beta.11+wvcus-win32-arm64.zip": "60e7d373292daff99b77cdb6acab47fc1ddd23e9e1cc14ce6cedee4c2267552d",
14+
"electron-v38.0.0-beta.11+wvcus-win32-ia32-pdb.zip": "1cfde932cadaf78b3d356bb9e0f669d513b0e55a9216f95b29fb47e60e1a0032",
15+
"electron-v38.0.0-beta.11+wvcus-win32-ia32-symbols.zip": "2c3e3e80dc265b5c3e68c5caeab84199a2f487c10ce8e3d69458840a6bae2ffb",
16+
"electron-v38.0.0-beta.11+wvcus-win32-ia32.zip": "63caf9345ce156767a53de81a244733c737a1a0d293948eb6177f043b592fc1b",
17+
"electron-v38.0.0-beta.11+wvcus-win32-x64-pdb.zip": "d9d565bcf75b94f003070bcce8ed5f1c624eb961fda76c9d721d1b4a91bf0b40",
18+
"electron-v38.0.0-beta.11+wvcus-win32-x64-symbols.zip": "ff5ad5de03238178c9569f2009d4d9dc93f6a700e5a1088b693f3b03e45f335f",
19+
"electron-v38.0.0-beta.11+wvcus-win32-x64.zip": "2801e4fdf41bcd1668be2dbda4ae9bfbdce8dbc251d3e49e1e8cbe464b29d19a",
20+
"electron.d.ts": "c001db4416cc885d9e87fe4e8deb19cfa1866097747afbb8205e381242716213"
2121
}

electron.d.ts

Lines changed: 107 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Electron 38.0.0-alpha.12+wvcus
1+
// Type definitions for Electron 38.0.0-beta.11+wvcus
22
// Project: http://electronjs.org/
33
// Definitions by: The Electron Team <https://github.com/electron/electron>
44
// Definitions: https://github.com/electron/typescript-definitions
@@ -1219,7 +1219,7 @@ declare namespace Electron {
12191219
* called first, a default log directory will be created equivalent to calling
12201220
* `app.setAppLogsPath()` without a `path` parameter.
12211221
*/
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;
12231223
/**
12241224
* The user's preferred system languages from most preferred to least preferred,
12251225
* including the country codes if applicable. A user can modify and add to this
@@ -1256,6 +1256,12 @@ declare namespace Electron {
12561256
* that do not have associated countries in the language name.
12571257
*/
12581258
getPreferredSystemLanguages(): string[];
1259+
/**
1260+
* An array containing documents in the most recent documents list.
1261+
*
1262+
* @platform darwin,win32
1263+
*/
1264+
getRecentDocuments(): string[];
12591265
/**
12601266
* The current system locale. On Windows and Linux, it is fetched using Chromium's
12611267
* `i18n` library. On macOS, `[NSLocale currentLocale]` is used instead. To get the
@@ -2575,6 +2581,19 @@ declare namespace Electron {
25752581
* Focuses on the window.
25762582
*/
25772583
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);
25782597
/**
25792598
* Gets the background color of the window in Hex (`#RRGGBB`) format.
25802599
*
@@ -2934,6 +2953,23 @@ declare namespace Electron {
29342953
* @platform darwin
29352954
*/
29362955
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;
29372973
/**
29382974
* Sets whether the window should show always on top of other windows. After
29392975
* setting this, the window is still a normal window, not a toolbox window which
@@ -5216,6 +5252,19 @@ declare namespace Electron {
52165252
*/
52175253
focus(): void;
52185254
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);
52195268
/**
52205269
* Gets the background color of the window in Hex (`#RRGGBB`) format.
52215270
*
@@ -5635,6 +5684,23 @@ declare namespace Electron {
56355684
* @platform darwin
56365685
*/
56375686
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;
56385704
/**
56395705
* Sets whether the window should show always on top of other windows. After
56405706
* setting this, the window is still a normal window, not a toolbox window which
@@ -14597,6 +14663,13 @@ declare namespace Electron {
1459714663
* @platform darwin,win32
1459814664
*/
1459914665
getBounds(): Rectangle;
14666+
/**
14667+
* The GUID used to uniquely identify the tray icon and allow it to retain its
14668+
* position between relaunches, or null if none is set.
14669+
*
14670+
* @platform darwin,win32
14671+
*/
14672+
getGUID(): (string) | (null);
1460014673
/**
1460114674
* Whether double click events will be ignored.
1460214675
*
@@ -17820,23 +17893,25 @@ declare namespace Electron {
1782017893
* A child of `webFrame` with the supplied `name`, `null` would be returned if
1782117894
* there's no such frame or if the frame is not in the current renderer process.
1782217895
*/
17823-
findFrameByName(name: string): WebFrame;
17896+
findFrameByName(name: string): (WebFrame) | (null);
1782417897
/**
1782517898
* that has the supplied `routingId`, `null` if not found.
1782617899
*
17900+
* **Deprecated:** Use the new `webFrame.findFrameByToken` API.
17901+
*
1782717902
* @deprecated
1782817903
*/
17829-
findFrameByRoutingId(routingId: number): WebFrame;
17904+
findFrameByRoutingId(routingId: number): (WebFrame) | (null);
1783017905
/**
1783117906
* that has the supplied `frameToken`, `null` if not found.
1783217907
*/
17833-
findFrameByToken(frameToken: string): WebFrame;
17908+
findFrameByToken(frameToken: string): (WebFrame) | (null);
1783417909
/**
1783517910
* The frame element in `webFrame's` document selected by `selector`, `null` would
1783617911
* be returned if `selector` does not select a frame or if the frame is not in the
1783717912
* current renderer process.
1783817913
*/
17839-
getFrameForSelector(selector: string): WebFrame;
17914+
getFrameForSelector(selector: string): (WebFrame) | (null);
1784017915
/**
1784117916
* * `images` MemoryUsageDetails
1784217917
* * `scripts` MemoryUsageDetails
@@ -17974,6 +18049,8 @@ declare namespace Electron {
1797418049
* Distinct WebFrame instances that refer to the same underlying frame will have
1797518050
* the same `routingId`.
1797618051
*
18052+
* **Deprecated:** Use the new `webFrame.frameToken` API.
18053+
*
1797718054
* @deprecated
1797818055
*/
1797918056
readonly routingId: number;
@@ -17990,6 +18067,11 @@ declare namespace Electron {
1799018067

1799118068
// Docs: https://electronjs.org/docs/api/web-frame-main
1799218069

18070+
/**
18071+
* A frame with the given process and frame token, or `null` if there is no
18072+
* WebFrameMain associated with the given IDs.
18073+
*/
18074+
static fromFrameToken(processId: number, frameToken: string): (WebFrameMain) | (null);
1799318075
/**
1799418076
* A frame with the given process and routing IDs, or `undefined` if there is no
1799518077
* WebFrameMain associated with the given IDs.
@@ -22349,6 +22431,20 @@ declare namespace Electron {
2234922431
* The total amount of memory not being used by applications or disk cache.
2235022432
*/
2235122433
free: number;
22434+
/**
22435+
* The amount of memory that currently has been paged out to storage. Includes
22436+
* memory for file caches, network buffers, and other system services.
22437+
*
22438+
* @platform darwin
22439+
*/
22440+
fileBacked: number;
22441+
/**
22442+
* The amount of memory that is marked as "purgeable". The system can reclaim it if
22443+
* memory pressure increases.
22444+
*
22445+
* @platform darwin
22446+
*/
22447+
purgeable: number;
2235222448
/**
2235322449
* The total amount of swap memory in Kilobytes available to the system.
2235422450
*
@@ -25338,6 +25434,11 @@ declare namespace NodeJS {
2533825434
* to the system.
2533925435
* * `free` Integer - The total amount of memory not being used by applications or
2534025436
* disk cache.
25437+
* * `fileBacked` Integer _macOS_ - The amount of memory that currently has been
25438+
* paged out to storage. Includes memory for file caches, network buffers, and
25439+
* other system services.
25440+
* * `purgeable` Integer _macOS_ - The amount of memory that is marked as
25441+
* "purgeable". The system can reclaim it if memory pressure increases.
2534125442
* * `swapTotal` Integer _Windows_ _Linux_ - The total amount of swap memory in
2534225443
* Kilobytes available to the system.
2534325444
* * `swapFree` Integer _Windows_ _Linux_ - The free amount of swap memory in

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"node": ">= 12.20.55"
1717
},
1818
"name": "electron",
19-
"version": "38.0.0-alpha.12+wvcus",
19+
"version": "38.0.0-beta.11+wvcus",
2020
"repository": "https://github.com/castlabs/electron-releases",
2121
"description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection",
2222
"license": "MIT",

0 commit comments

Comments
 (0)