Skip to content

Commit b263243

Browse files
committed
Updated for v37.4.0+wvcus
1 parent 3d2c050 commit b263243

File tree

3 files changed

+95
-22
lines changed

3 files changed

+95
-22
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": "4261eb7b38bf6ed6bf5c54af6c0a6048a6f8f45d0ee07608d5c149ad09d40ca4",
3-
"electron-v37.2.5+wvcus-darwin-arm64-dsym.zip": "3dd5b04cb68bdb8710e8966354e54c403d534583067441759d469a867be76e78",
4-
"electron-v37.2.5+wvcus-darwin-arm64-symbols.zip": "0ba48fc5ae5640a9f32d88f8dabd27f9165c420fc6c6199186fc106b8e8789d9",
5-
"electron-v37.2.5+wvcus-darwin-arm64.zip": "0733038e43880778b63126a061a89e2d5278e96c07101053c27bbbaabd2c92fd",
6-
"electron-v37.2.5+wvcus-darwin-x64-dsym.zip": "52f3643177f206c6e4ab12f9e0287fe245d58f7b3e378d8beac1711c6de1e970",
7-
"electron-v37.2.5+wvcus-darwin-x64-symbols.zip": "df920839c903a152f0fd67d82dddbd1af729eb6bc9a836837c5b64e47d17ea55",
8-
"electron-v37.2.5+wvcus-darwin-x64.zip": "31547e15e052efe13d50847d0a842e840b0a9735e153dc7acb5510fefa61c298",
9-
"electron-v37.2.5+wvcus-linux-x64-symbols.zip": "2fe85205e56f34cf69da9139958fc677b1b0353559e16172821b9075187ab415",
10-
"electron-v37.2.5+wvcus-linux-x64.zip": "370a214458f405f085c152c8dc8c2563ccda21f6ff2694badafdaf0d48446125",
11-
"electron-v37.2.5+wvcus-win32-arm64-pdb.zip": "18bcb605dc6da928df58509e3536d5a43cfd67f525dca5cef33515b1a6308dbe",
12-
"electron-v37.2.5+wvcus-win32-arm64-symbols.zip": "8eb68928f62a3909be17a6d469060b0e695acdf9679ec0e56c1e6b6a582651b1",
13-
"electron-v37.2.5+wvcus-win32-arm64.zip": "0f012035b1912cc4b42f95a75c93e82c0dcaf6d582528c01d27de559f39254d7",
14-
"electron-v37.2.5+wvcus-win32-ia32-pdb.zip": "3718d0af61a875c17ad331a67af16974057584d342feba549870093a4ff8bab9",
15-
"electron-v37.2.5+wvcus-win32-ia32-symbols.zip": "9e761083d5eead76c4e926f18751d00d571cc5d2eae242f2a1c1f9c626a75fbc",
16-
"electron-v37.2.5+wvcus-win32-ia32.zip": "e2e69ce4ec38fe27e50bacafec70f22df3a7c7228aec3133221d343156a99e53",
17-
"electron-v37.2.5+wvcus-win32-x64-pdb.zip": "91539e96eea21b18d0cae34cf4d9b3e8773f26972cc7d2673d86ff52d1d06b61",
18-
"electron-v37.2.5+wvcus-win32-x64-symbols.zip": "526d0665864a6cdebeef4f03173a08da39de2dd8ada3b9ec8805cb94c4320f42",
19-
"electron-v37.2.5+wvcus-win32-x64.zip": "5606c02ee932a90acc0b5bccac356b71fe75fdae00a475764ed6264c1a4b42df",
20-
"electron.d.ts": "046a10ffb9776313effbd05939c33bf1bc14c4d8f1680aed1702c70a56d35df3"
2+
"electron-api.json": "b7cf7c40f0e1be2f5992ccdc90909ba734960784253c5fc0a93da345a8ab5875",
3+
"electron-v37.4.0+wvcus-darwin-arm64-dsym.zip": "d338e0ef04b96274a7b64813e451d518108972f0174ad54a0cab5529ad95251b",
4+
"electron-v37.4.0+wvcus-darwin-arm64-symbols.zip": "0073dd418c780dddfb286939186656e986fc22af7c8e70ab920aaa88b64d4ba9",
5+
"electron-v37.4.0+wvcus-darwin-arm64.zip": "3fd1cc6256980bb713a62ccd118824ba687c2efc98c4698a3a45dcc233c5c52d",
6+
"electron-v37.4.0+wvcus-darwin-x64-dsym.zip": "9e5d9ec61e31181a8d230281ca6dfe830b155177e57ac2c1164710ac64454077",
7+
"electron-v37.4.0+wvcus-darwin-x64-symbols.zip": "3483a8cebed04e31b1e1eea4520130b0daf180ee1d31b238504efece042e5409",
8+
"electron-v37.4.0+wvcus-darwin-x64.zip": "7d4035b0771ba4611a5f6dc53de286e2ce89a46adc5589e1b0acc9d949238ff6",
9+
"electron-v37.4.0+wvcus-linux-x64-symbols.zip": "cd9941f917e5dc3198e527ab41afb4fb794dd9ff8ddad70a9fb0e5ed24ef89ca",
10+
"electron-v37.4.0+wvcus-linux-x64.zip": "7d695b62da44a25d767d49547db9d35783664137d849611bb694e14694dc9fd6",
11+
"electron-v37.4.0+wvcus-win32-arm64-pdb.zip": "0b2c29baa7e0a973bf725d238bd88a820d39a187a5e92c11459e4a6f96966e39",
12+
"electron-v37.4.0+wvcus-win32-arm64-symbols.zip": "ab8224618424f164219eb600e3977b6be43bfe227ec05f04423fea6970cd953b",
13+
"electron-v37.4.0+wvcus-win32-arm64.zip": "ef492965cc4307a86420bf6447c0c86540eff7b3a07ee462543b2e0b31aee000",
14+
"electron-v37.4.0+wvcus-win32-ia32-pdb.zip": "179c3f1be75bb0e1fe74afef550b266d3c7040b0a4ab4240f9173117b3ef436a",
15+
"electron-v37.4.0+wvcus-win32-ia32-symbols.zip": "1471f6e8b0df8405b6b7775fdd651b4cdc0da6419754aec941117731956f6187",
16+
"electron-v37.4.0+wvcus-win32-ia32.zip": "afa2d4d55db72ed6b89793730f00c7550a3ae26b234e780b4fc8cab4406d8de7",
17+
"electron-v37.4.0+wvcus-win32-x64-pdb.zip": "802023b1929f2f377578d882abbb49fe80c532dad47358fe2a4c5175e225bd8a",
18+
"electron-v37.4.0+wvcus-win32-x64-symbols.zip": "780281037754d7038bff4e04200886c42729f505300935147409645d2f851db6",
19+
"electron-v37.4.0+wvcus-win32-x64.zip": "12f43a6fc6ef0f372e26bc1c950877f0ab1d993ee9a1194d8cd76ac22381354d",
20+
"electron.d.ts": "579357d9bfd80e2d5adbeffb668fc7f622a1aa78a8680091c686a86c7b1e5eab"
2121
}

electron.d.ts

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Electron 37.2.5+wvcus
1+
// Type definitions for Electron 37.4.0+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
@@ -14592,6 +14658,13 @@ declare namespace Electron {
1459214658
* @platform darwin,win32
1459314659
*/
1459414660
getBounds(): Rectangle;
14661+
/**
14662+
* The GUID used to uniquely identify the tray icon and allow it to retain its
14663+
* position between relaunches, or null if none is set.
14664+
*
14665+
* @platform darwin,win32
14666+
*/
14667+
getGUID(): (string) | (null);
1459514668
/**
1459614669
* Whether double click events will be ignored.
1459714670
*

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": "37.2.5+wvcus",
19+
"version": "37.4.0+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)