Skip to content

Commit

Permalink
Updated for v9.0.3-wvvmp
Browse files Browse the repository at this point in the history
  • Loading branch information
khwaaj committed Jun 6, 2020
1 parent 9e4e168 commit 60a475d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# castLabs Electron v9.0.2 for Content Security
# castLabs Electron v9.0.3 for Content Security

Check out the [Wiki](https://github.com/castlabs/electron-releases/wiki) for general news and other updates.

Expand All @@ -12,7 +12,7 @@ The provided builds are VMP-signed for development use, i.e. using Widevine UAT

The sections below will describe the additions to the Electron APIs, for anything else refer to the regular Electron documentation:

[Electron README](https://github.com/electron/electron/blob/v9.0.2/README.md)
[Electron README](https://github.com/electron/electron/blob/v9.0.3/README.md)

> **NOTE**: The section about Widevine DRM in the regular Electron documentation does not apply to this fork of Electron since the Widevine components are now automatically installed and configured.
Expand All @@ -30,11 +30,11 @@ becomes:

```
"dependencies": {
"electron": "https://github.com/castlabs/electron-releases#v9.0.2-wvvmp"
"electron": "https://github.com/castlabs/electron-releases#v9.0.3-wvvmp"
}
```

The `#v9.0.2-wvvmp` part of the URL references a specific release tag for Electron for Content Security, if it is left out the master branch will be tracked instead.
The `#v9.0.3-wvvmp` part of the URL references a specific release tag for Electron for Content Security, if it is left out the master branch will be tracked instead.

## Migrating from an earlier castLabs Electron for Content Security release

Expand Down Expand Up @@ -66,7 +66,7 @@ Widevine CDM verification/installation/update is normally automatically triggere
### `app.verifyWidevineCdm([options])`

* `options` Object (optional)
* `session` [Session](https://github.com/electron/electron/blob/v9.0.2/docs/api/session.md) (optional)
* `session` [Session](https://github.com/electron/electron/blob/v9.0.3/docs/api/session.md) (optional)
* `disableUpdate` boolean (optional)

Initiates asynchronous Widevine CDM verify/install/update procedure and returns no value. Once initiated Widevine related events will be emitted as necessary, namely `widevine-ready`, `widevine-update-pending` & `widevine-error`. Unless the `no-verify-widevine-cdm` command line parameter is set this API is automatically triggered on startup and should not be called manually. If customized options are necessary `no-verify-widevine-cdm` should be set and the API call made once, very early, after the app has received the `ready` event (but before loading any media-related content to avoid potentially requiring a restart).
Expand Down
8 changes: 6 additions & 2 deletions electron.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for Electron 9.0.2
// Type definitions for Electron 9.0.3
// Project: http://electronjs.org/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/electron-typescript-definitions
Expand Down Expand Up @@ -1561,7 +1561,7 @@ Here's a very simple example of creating a custom Jump List:
/**
* A `Boolean` which when `true` disables the overrides that Electron has in place
* to ensure renderer processes are restarted on every navigation. The current
* default value for this property is `false`.
* default value for this property is `true`.
*
* The intention is for these overrides to become disabled by default and then at
* some point in the future this property will be removed. This property impacts
Expand Down Expand Up @@ -13922,6 +13922,10 @@ See webContents.sendInputEvent for detailed description of `event` object.
* Whether to enable the WebSQL api. Default is `true`.
*/
enableWebSQL?: boolean;
/**
* Enforces the v8 code caching policy used by blink. Accepted values are
*/
v8CacheOptions?: ('none' | 'code' | 'bypassHeatCheck' | 'bypassHeatCheckAndEagerCompile');
}

interface DefaultFontFamily {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"node": ">= 8.6"
},
"name": "electron",
"version": "9.0.2-wvvmp",
"version": "9.0.3-wvvmp",
"repository": "https://github.com/castlabs/electron-releases",
"description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection",
"license": "MIT",
Expand Down

0 comments on commit 60a475d

Please sign in to comment.