Skip to content

Commit

Permalink
Updated for v7.1.14-wvvmp
Browse files Browse the repository at this point in the history
  • Loading branch information
khwaaj committed Feb 29, 2020
1 parent fec198d commit 0378c8f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 24 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 v7.1.13 for Content Security
# castLabs Electron v7.1.14 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/v7.1.13/README.md)
[Electron README](https://github.com/electron/electron/blob/v7.1.14/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#v7.1.13-wvvmp"
"electron": "https://github.com/castlabs/electron-releases#v7.1.14-wvvmp"
}
```

The `#v7.1.13-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 `#v7.1.14-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 @@ -83,7 +83,7 @@ Widevine CDM verification/installation/update is normally automatically triggere
### `app.verifyWidevineCdm([options])`

* `options` Object (optional)
* `session` [Session](https://github.com/electron/electron/blob/v7.1.13/docs/api/session.md) (optional)
* `session` [Session](https://github.com/electron/electron/blob/v7.1.14/docs/api/session.md) (optional)
* `disableUpdate` boolean (optional)
* `baseDir` string (optional)

Expand Down
32 changes: 14 additions & 18 deletions electron.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for Electron 7.1.13
// Type definitions for Electron 7.1.14
// 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 @@ -1177,16 +1177,15 @@ This method can only be called before app is ready.
*/
isAccessibilitySupportEnabled(): boolean;
/**
* This method checks if the current executable is the default handler for a
* protocol (aka URI scheme). If so, it will return true. Otherwise, it will return
* false.
* Whether the current executable is the default handler for a protocol (aka URI
* scheme).
*
* **Note:** On macOS, you can use this method to check if the app has been
* registered as the default protocol handler for a protocol. You can also verify
* this by checking `~/Library/Preferences/com.apple.LaunchServices.plist` on the
* macOS machine. Please refer to Apple's documentation for details.
*
* The API uses the Windows Registry and LSCopyDefaultHandlerForURLScheme
* The API uses the Windows Registry and `LSCopyDefaultHandlerForURLScheme`
* internally.
*/
isDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
Expand Down Expand Up @@ -1360,28 +1359,25 @@ This method can only be called before app is ready.
/**
* Whether the call succeeded.
*
* This method sets the current executable as the default handler for a protocol
* (aka URI scheme). It allows you to integrate your app deeper into the operating
* system. Once registered, all links with `your-protocol://` will be opened with
* the current executable. The whole link, including protocol, will be passed to
* your application as a parameter.
*
* On Windows, you can provide optional parameters path, the path to your
* executable, and args, an array of arguments to be passed to your executable when
* it launches.
* Sets the current executable as the default handler for a protocol (aka URI
* scheme). It allows you to integrate your app deeper into the operating system.
* Once registered, all links with `your-protocol://` will be opened with the
* current executable. The whole link, including protocol, will be passed to your
* application as a parameter.
*
* **Note:** On macOS, you can only register protocols that have been added to your
* app's `info.plist`, which can not be modified at runtime. You can however change
* the file with a simple text editor or script during build time. Please refer to
* Apple's documentation for details.
* app's `info.plist`, which cannot be modified at runtime. However, you can change
* the file during build time via Electron Forge, Electron Packager, or by editing
* `info.plist` with a text editor. Please refer to Apple's documentation for
* details.
*
* **Note:** In a Windows Store environment (when packaged as an `appx`) this API
* will return `true` for all calls but the registry key it sets won't be
* accessible by other applications. In order to register your Windows Store
* application as a default protocol handler you must declare the protocol in your
* manifest.
*
* The API uses the Windows Registry and LSSetDefaultHandlerForURLScheme
* The API uses the Windows Registry and `LSSetDefaultHandlerForURLScheme`
* internally.
*/
setAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
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": "7.1.13-wvvmp",
"version": "7.1.14-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 0378c8f

Please sign in to comment.