Skip to content

Commit

Permalink
Updated for v10.0.0-wvvmp-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
khwaaj committed Jul 3, 2020
1 parent c1201ea commit 85ca103
Show file tree
Hide file tree
Showing 3 changed files with 16 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 v10.0.0-beta.4 for Content Security
# castLabs Electron v10.0.0-beta.8 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/v10.0.0-beta.4/README.md)
[Electron README](https://github.com/electron/electron/blob/v10.0.0-beta.8/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#v10.0.0-wvvmp-beta.4"
"electron": "https://github.com/castlabs/electron-releases#v10.0.0-wvvmp-beta.8"
}
```

The `#v10.0.0-wvvmp-beta.4` 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 `#v10.0.0-wvvmp-beta.8` 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/v10.0.0-beta.4/docs/api/session.md) (optional)
* `session` [Session](https://github.com/electron/electron/blob/v10.0.0-beta.8/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
12 changes: 10 additions & 2 deletions electron.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for Electron 10.0.0-beta.4
// Type definitions for Electron 10.0.0-beta.8
// 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 @@ -5859,6 +5859,8 @@ Starts recording network events to `path`.
removeListener(event: 'on-battery', listener: Function): this;
/**
* Emitted when system is resuming.
*
* @platform linux,win32
*/
on(event: 'resume', listener: Function): this;
once(event: 'resume', listener: Function): this;
Expand All @@ -5878,6 +5880,8 @@ Starts recording network events to `path`.
removeListener(event: 'shutdown', listener: Function): this;
/**
* Emitted when the system is suspending.
*
* @platform linux,win32
*/
on(event: 'suspend', listener: Function): this;
once(event: 'suspend', listener: Function): this;
Expand Down Expand Up @@ -7379,7 +7383,11 @@ Returns an object with system animation settings.
* consent for `microphone` and `camera` access. macOS 10.15 Catalina or higher
* requires consent for `screen` access.
*
* @platform darwin
* Windows 10 has a global setting controlling `microphone` and `camera` access for
* all win32 applications. It will always return `granted` for `screen` and for all
* media types on older versions of Windows.
*
* @platform win32,darwin
*/
getMediaAccessStatus(mediaType: 'microphone' | 'camera' | 'screen'): ('not-determined' | 'granted' | 'denied' | 'restricted' | 'unknown');
/**
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": "10.0.0-wvvmp-beta.4",
"version": "10.0.0-wvvmp-beta.8",
"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 85ca103

Please sign in to comment.